mobile_auth_router.go
1.1 KB
package routers
func init() {
//登录注册
//web.Router("/v1/app/users/regist/company", &common_controller.CommonController{}, "Post:CompanySignUp")
//web.Router("/v1/app/auth/login", &mobile_client.AuthController{}, "Post:Login")
//web.Router("/v1/app/auth/access-token", &mobile_client.AuthController{}, "Post:GetAuthAccessToken")
//web.Router("/v1/app/auth/refresh-token", &mobile_client.AuthController{}, "Post:RefreshAuthAccessToken")
//获取用户数据
//web.Router("/v1/app/user/user-info", &mobile_client.AuthController{}, "Post:GetUserInfo")
//web.Router("/v1/app/user/user-menu", &mobile_client.AuthController{}, "Post:GetUserMenus")
//web.Router("/v1/app/user/user-orgs", &mobile_client.AuthController{}, "Post:GetUserOrg")
////公司用户注册
//web.Router("/v1/app/auth/company-sign-up", &mobile_client.AuthController{}, "Post:CompanySignUp")
////公司重置密码
//web.Router("/v1/app/auth/reset-password", &mobile_client.AuthController{}, "Post:ResetPassword")
//web.Router("/v1/app/auth/org-switch", &mobile_client.AuthController{}, "Post:OrgSwitch")
}