auth_router.go 896 字节
package routers

import (
	"github.com/beego/beego/v2/server/web"
	"gitlab.fjmaimaimai.com/allied-creation/allied-creation-user/pkg/port/beego/controllers"
)

func init() {
	web.Router("/auth/company-sign-up", &controllers.AuthController{}, "Post:CompanySignUp")
	web.Router("/auth/check-password", &controllers.AuthController{}, "Post:PhoneAuthCheck")
	web.Router("/auth/reset-password", &controllers.AuthController{}, "Post:PhoneAuthResetPassword")
	web.Router("/auth/change-password", &controllers.AuthController{}, "Post:PhoneAuthChangePassword")
	web.Router("/auth/reset-phone", &controllers.AuthController{}, "Post:PhoneAuthResetPhone")
	web.Router("/auth/destroy-account", &controllers.AuthController{}, "Post:DestroyAccount")
	web.Router("/auth/refresh-im", &controllers.AuthController{}, "Post:RefreshIM")
	web.Router("/auth/user-info", &controllers.AuthController{}, "Post:UserInfo")
}