You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
648 B
19 lines
648 B
package influencer
|
|
|
|
import (
|
|
"pure/api/influencer"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func InitInfluencerUserRouter(Router *gin.RouterGroup) {
|
|
InRouter := Router.Group("user")
|
|
{
|
|
InRouter.GET("detail", influencer.GetUserDetail) //个人基本信息
|
|
InRouter.PUT("detail", influencer.UpdateUserDetail) //修改基本信息
|
|
InRouter.POST("bandPhone", influencer.BandPhone) //绑定手机号
|
|
InRouter.POST("platformAuth", influencer.PlatformAuth) //平台认证
|
|
InRouter.GET("statistics", influencer.GetUserStatistics) //个人基本信息
|
|
InRouter.POST("logoff", influencer.UserLogOff) //注销账户
|
|
}
|
|
}
|
|
|