feat:用户设置logo

This commit is contained in:
momo
2023-09-07 18:52:01 +08:00
parent 818eee78be
commit 6cc35e6198
7 changed files with 234 additions and 77 deletions

View File

@@ -67,8 +67,19 @@ service home-user-auth {
// 保存商户信息
@handler UserInfoSetHandler
post /api/user/set_user_info (UserInfoSetReq) returns (response);
// 用户logo设置当前
@handler UserLogoSetHandler
get /api/user/logo-set (UserLogoSetReq) returns (response);
}
type (
UserLogoSetReq {
LogoSelectedId int64 `form:"logo_selected_id"`
CategoryId int64 `form:"category_id,optional"`
}
)
type (
UserInfoSetReq {
Module string `form:"module,options=[merchant_category,logo_merchant_category,profile]"` // json格式字符串