feat: 用户中心
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package plant
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
type UserProfileRouter struct{}
|
||||
|
||||
func (c *OcrRouter) InitUserProfileRouter(Router *gin.RouterGroup) {
|
||||
userProfileRouter := Router.Group("profile")
|
||||
{
|
||||
userProfileRouter.POST("/update", userProfileApi.UpdateProfile)
|
||||
userProfileRouter.GET("/detail", userProfileApi.ProfileDetail)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user