mobile_user_router.go 666 字节
package routers

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

func init() {
	web.Router("/v1/app/auth/smsCode", &mobile_client.UserController{}, "Post:SendSmsCode")
	web.Router("/v1/app/auth/check-phone", &mobile_client.UserController{}, "Post:CheckSmsCode")

	web.Router("/v1/app/users/change-password", &mobile_client.UserController{}, "Post:ChangePassword")
	web.Router("/v1/app/users/change-phone", &mobile_client.UserController{}, "Post:ChangePhone")
	web.Router("/v1/app/users/personal", &mobile_client.UserController{}, "Post:UpdateUserInfo")
}