Code cleanup

Signed-off-by: Yuan Si <do4suki@gmail.com>
This commit is contained in:
2023-04-14 16:05:18 +08:00
parent 9d86942116
commit 69514cd052
37 changed files with 802 additions and 1783 deletions
+3 -3
View File
@@ -46,10 +46,10 @@ func main() {
// Private APIs
// Server APIs
m := r.Group("main.php").Use(middleware.CommonMid)
m := r.Group("main.php").Use(middleware.Common)
{
m.POST("/login/authkey", handler.AuthKeyHandler)
m.POST("/login/login", handler.LoginHandler)
m.POST("/login/authkey", middleware.AuthKey, handler.AuthKey)
m.POST("/login/login", middleware.Login, handler.Login)
m.POST("/user/userInfo", handler.UserInfoHandler)
m.POST("/gdpr/get", handler.GdprHandler)
m.POST("/personalnotice/get", handler.PersonalNoticeHandler)