feat: support dashboard in homepage (#2207)

* feat: support dashboard

* feat: support dashboard
This commit is contained in:
2023-08-14 14:32:12 +08:00
committed by Yang Luo
parent 7a2a40edcc
commit 8ff0cfd6ec
7 changed files with 283 additions and 15 deletions

View File

@ -51,6 +51,7 @@ func initAPI() {
beego.Router("/api/signup", &controllers.ApiController{}, "POST:Signup")
beego.Router("/api/login", &controllers.ApiController{}, "POST:Login")
beego.Router("/api/get-app-login", &controllers.ApiController{}, "GET:GetApplicationLogin")
beego.Router("/api/get-dashboard", &controllers.ApiController{}, "GET:GetDashboard")
beego.Router("/api/logout", &controllers.ApiController{}, "GET,POST:Logout")
beego.Router("/api/get-account", &controllers.ApiController{}, "GET:GetAccount")
beego.Router("/api/userinfo", &controllers.ApiController{}, "GET:GetUserinfo")