Feat: GET Site/Config getting global configuration

This commit is contained in:
HFO4
2019-11-22 19:33:06 +08:00
parent 9d8a462dc4
commit 370a1a0c9f
4 changed files with 65 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ func TestPing(t *testing.T) {
router := InitRouter()
w := httptest.NewRecorder()
req, _ := http.NewRequest("GET", "/Api/V3/Ping", nil)
req, _ := http.NewRequest("GET", "/Api/V3/Site/Ping", nil)
router.ServeHTTP(w, req)
assert.Equal(t, 200, w.Code)