This commit is contained in:
Liang Ding 2023-04-06 21:56:52 +08:00
parent 76e24225ae
commit 5a7e436ba5
No known key found for this signature in database
GPG key ID: 136F30F901A2231D
12 changed files with 63 additions and 12 deletions

View file

@ -56,6 +56,7 @@ 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/getChangelog", model.CheckAuth, getChangelog)
ginServer.Handle("POST", "/api/storage/setLocalStorage", model.CheckAuth, setLocalStorage)
ginServer.Handle("POST", "/api/storage/getLocalStorage", model.CheckAuth, getLocalStorage)