修复用户端个人头像展示
This commit is contained in:
@@ -31,6 +31,7 @@ func registerUserClient(serviceKey string, engine *gin.Engine) {
|
||||
protected := engine.Group(basePath)
|
||||
protected.Use(sdkmiddleware.JwtAuth(true), common.RequireClient("user_app"))
|
||||
protected.GET("/auth/profile", userlogic.Profile)
|
||||
protected.GET("/auth/avatar", userlogic.Avatar)
|
||||
protected.PUT("/auth/profile", userlogic.UpdateProfile)
|
||||
protected.PUT("/auth/password", userlogic.ChangePassword)
|
||||
protected.GET("/addresses", userlogic.ListAddresses)
|
||||
|
||||
Reference in New Issue
Block a user