This commit is contained in:
Liang Ding 2022-10-30 09:37:17 +08:00
parent fe846b4f59
commit d7796ac98b
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
2 changed files with 71 additions and 0 deletions

View file

@ -53,6 +53,8 @@ func ServeAPI(ginServer *gin.Engine) {
ginServer.Handle("POST", "/api/system/getConf", model.CheckAuth, getConf)
ginServer.Handle("POST", "/api/system/checkUpdate", model.CheckAuth, checkUpdate)
ginServer.Handle("POST", "/api/system/exportLog", model.CheckAuth, exportLog)
ginServer.Handle("POST", "/api/system/setLocalStorage", model.CheckAuth, setLocalStorage)
ginServer.Handle("POST", "/api/system/getLocalStorage", model.CheckAuth, getLocalStorage)
ginServer.Handle("POST", "/api/account/login", model.CheckAuth, login)
ginServer.Handle("POST", "/api/account/checkActivationcode", model.CheckAuth, checkActivationcode)