Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
commit
e7496fcebb
|
@ -6,8 +6,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
type UserInfoSetReq struct {
|
type UserInfoSetReq struct {
|
||||||
Module string `form:"module,options=[merchant_category]"` // json格式字符串
|
Module string `form:"module,options=[merchant_category,logo_merchant_category]"` // json格式字符串
|
||||||
Metadata string `form:"metadata"` // json格式字符串
|
Metadata string `form:"metadata"` // json格式字符串
|
||||||
}
|
}
|
||||||
|
|
||||||
type UserAgainOrderReq struct {
|
type UserAgainOrderReq struct {
|
||||||
|
|
|
@ -10,56 +10,56 @@ info (
|
||||||
import "basic.api"
|
import "basic.api"
|
||||||
|
|
||||||
service home-user-auth {
|
service home-user-auth {
|
||||||
|
|
||||||
// @handler UserRegisterHandler
|
// @handler UserRegisterHandler
|
||||||
// post /api/user/register(RequestUserRegister) returns (response);
|
// post /api/user/register(RequestUserRegister) returns (response);
|
||||||
|
|
||||||
@handler UserFontsHandler
|
@handler UserFontsHandler
|
||||||
get /api/user/fonts(request) returns (response);
|
get /api/user/fonts(request) returns (response);
|
||||||
|
|
||||||
@handler UserGetTypeHandler
|
@handler UserGetTypeHandler
|
||||||
get /api/user/get-type(request) returns (response);
|
get /api/user/get-type(request) returns (response);
|
||||||
|
|
||||||
@handler UserSaveBasicInfoHandler
|
@handler UserSaveBasicInfoHandler
|
||||||
post /api/user/basic-info(RequestBasicInfoForm) returns (response);
|
post /api/user/basic-info(RequestBasicInfoForm) returns (response);
|
||||||
|
|
||||||
@handler UserStatusConfigHandler
|
@handler UserStatusConfigHandler
|
||||||
get /api/user/status-config(request) returns (response);
|
get /api/user/status-config(request) returns (response);
|
||||||
|
|
||||||
@handler UserBasicInfoHandler
|
@handler UserBasicInfoHandler
|
||||||
get /api/user/basic-info(request) returns (response);
|
get /api/user/basic-info(request) returns (response);
|
||||||
|
|
||||||
@handler UserAddressListHandler
|
@handler UserAddressListHandler
|
||||||
get /api/user/address-list(request) returns (response);
|
get /api/user/address-list(request) returns (response);
|
||||||
|
|
||||||
@handler UserAddAddressHandler
|
@handler UserAddAddressHandler
|
||||||
post /api/user/add-address(RequestAddAddress) returns (response);
|
post /api/user/add-address(RequestAddAddress) returns (response);
|
||||||
|
|
||||||
@handler UserContactServiceHandler
|
@handler UserContactServiceHandler
|
||||||
post /api/user/contact-service (RequestContactService) returns (response);
|
post /api/user/contact-service (RequestContactService) returns (response);
|
||||||
|
|
||||||
// @handler UserOderListHandler
|
// @handler UserOderListHandler
|
||||||
// get /api/user/order-list(RequestOrderId) returns (response);
|
// get /api/user/order-list(RequestOrderId) returns (response);
|
||||||
|
|
||||||
@handler UserOderDeleteHandler
|
@handler UserOderDeleteHandler
|
||||||
post /api/user/order-delete(RequestOrderId) returns (response);
|
post /api/user/order-delete(RequestOrderId) returns (response);
|
||||||
|
|
||||||
//订单列表
|
//订单列表
|
||||||
@handler UserOrderListHandler
|
@handler UserOrderListHandler
|
||||||
get /api/user/order-list (UserOrderListReq) returns (response);
|
get /api/user/order-list (UserOrderListReq) returns (response);
|
||||||
|
|
||||||
//删除订单
|
//删除订单
|
||||||
@handler UserOrderDeleteHandler
|
@handler UserOrderDeleteHandler
|
||||||
get /api/user/order-delete (UserOrderDeleteReq) returns (response);
|
get /api/user/order-delete (UserOrderDeleteReq) returns (response);
|
||||||
|
|
||||||
//取消订单
|
//取消订单
|
||||||
@handler UserOrderCancelHandler
|
@handler UserOrderCancelHandler
|
||||||
get /api/user/order-cancel (UserOrderCancelReq) returns (response);
|
get /api/user/order-cancel (UserOrderCancelReq) returns (response);
|
||||||
|
|
||||||
// 用户logo列表
|
// 用户logo列表
|
||||||
@handler UserLogoListHandler
|
@handler UserLogoListHandler
|
||||||
get /api/user/logo-list (UserLogoListReq) returns (response);
|
get /api/user/logo-list (UserLogoListReq) returns (response);
|
||||||
|
|
||||||
// 再来一单
|
// 再来一单
|
||||||
@handler UserAgainOrderHandler
|
@handler UserAgainOrderHandler
|
||||||
get /api/user/one-more-order (UserAgainOrderReq) returns (response);
|
get /api/user/one-more-order (UserAgainOrderReq) returns (response);
|
||||||
|
@ -71,8 +71,8 @@ service home-user-auth {
|
||||||
|
|
||||||
type (
|
type (
|
||||||
UserInfoSetReq {
|
UserInfoSetReq {
|
||||||
Module string `form:"module,options=[merchant_category]"` // json格式字符串
|
Module string `form:"module,options=[merchant_category,logo_merchant_category]"` // json格式字符串
|
||||||
Metadata string `form:"metadata"` // json格式字符串
|
Metadata string `form:"metadata"` // json格式字符串
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user