feat: add system info page (#1033)

* feat: add system info page

* feat: add some code

* fix
This commit is contained in:
q1anx1
2022-08-20 21:22:46 +08:00
committed by GitHub
parent 67a5adf585
commit ef4c3833a4
17 changed files with 439 additions and 8 deletions

View File

@ -202,4 +202,7 @@ func initAPI() {
beego.Router("/api/webauthn/signup/finish", &controllers.ApiController{}, "Post:WebAuthnSignupFinish")
beego.Router("/api/webauthn/signin/begin", &controllers.ApiController{}, "Get:WebAuthnSigninBegin")
beego.Router("/api/webauthn/signin/finish", &controllers.ApiController{}, "Post:WebAuthnSigninFinish")
beego.Router("/api/get-system-info", &controllers.ApiController{}, "GET:GetSystemInfo")
beego.Router("/api/get-release", &controllers.ApiController{}, "GET:GitRepoVersion")
}