You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package app
|
|
|
|
import (
|
|
"Lee-WineList/api/app"
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// 用户相关路由
|
|
func user(g *gin.RouterGroup) {
|
|
g.GET("", app.UserApi().GetUser) // 获取当前登录用户信息
|
|
g.POST("/binding/wechat", app.UserApi().BindingWeChat) // 绑定微信
|
|
g.POST("/update", app.UserApi().UpdateUser) // 修改用户信息
|
|
}
|