Merge branch 'develop' of https://gitee.com/fusenpack/fusenapi into develop

This commit is contained in:
eson
2023-06-08 10:52:31 +08:00
15 changed files with 402 additions and 36 deletions

View File

@@ -7,17 +7,20 @@ info (
email: ""
)
type request {
// TODO: add members here and delete this comment
Name string `path:"name,options=you|me"` // parameters are auto validated
import "basic.api"
@server(
jwt: Auth
)
service data-transfer {
//获取标准logo列表
@handler GetStandardLogoListHandler
get /standard-logo/list ( ) returns (response);
}
type response {
// TODO: add members here and delete this comment
Message string `json:"message"`
}
service user-auth {
@handler GreetHandler
get /greet/from/:name(request) returns (response);
//获取标准logo列表
type GetStandardLogoListRsp {
Id int64 `json:"id"`
Name string `json:"name"`
Url string `json:"url"`
}

View File

@@ -18,10 +18,6 @@ service product {
//获取成功后的推荐产品
@handler GetSuccessRecommand
get /product/success-recommand (GetSuccessRecommandReq) returns (response);
}
//非登录接口
service product {
//获取分类下的产品以及尺寸
@handler GetSizeByProduct
get /product/get-size-by-product () returns (response);