所有序列化, 都加入 BeforeLogic AfterLogic方法. 便于处理 w r的传递的参数

This commit is contained in:
eson
2023-07-21 15:20:18 +08:00
parent 373d5dca45
commit 2825f8ae54
100 changed files with 1499 additions and 454 deletions

View File

@@ -12,10 +12,10 @@ import "basic.api"
service data-transfer {
//获取标准logo列表
@handler GetStandardLogoListHandler
get /api/standard-logo/list returns (response);
get /api/standard-logo/list(request) returns (response);
//获取二维码设置列表
@handler GetQrCodeSetListHandler
get /api/qrcode-set/list returns (response);
get /api/qrcode-set/list(request) returns (response);
}
//获取标准logo列表

View File

@@ -18,13 +18,13 @@ service product-template {
get /api/product-template/base-map-list(request) returns (response);
//底图批量保存
@handler SaveBaseMapHandler
post /api/product-template/base-map-update (request) returns (response);
post /api/product-template/base-map-update(request) returns (response);
//新增底图
@handler AddBaseMapHandler
post /api/product-template/base-map-add (AddBaseMapReq) returns (response);
post /api/product-template/base-map-add(AddBaseMapReq) returns (response);
//更新模板
@handler UpdateTemplateHandler
post /api/product-template/update-template (UpdateTemplateReq) returns (response);
post /api/product-template/update-template(UpdateTemplateReq) returns (response);
}
//获取产品模板详情

View File

@@ -15,16 +15,16 @@ service product {
get /api/product/list(GetProductListReq) returns (response);
//获取支付成功后推荐产品
@handler GetSuccessRecommandHandler
get /api/product/success-recommand (GetSuccessRecommandReq) returns (response);
get /api/product/success-recommand(GetSuccessRecommandReq) returns (response);
//获取分类下的产品以及尺寸
@handler GetSizeByProductHandler
get /api/product/get-size-by-product returns (response);
get /api/product/get-size-by-product(request) returns (response);
//获取保存的设计信息
@handler GetProductDesignHandler
get /api/product/design(GetProductDesignReq) returns (response);
//产品设计数据采集
@handler DesignGatherHandler
post /api/product/design-gather (DesignGatherReq) returns (response);
post /api/product/design-gather(DesignGatherReq) returns (response);
//获取产品信息
@handler GetProductInfoHandler
get /api/product/info(GetProductInfoReq) returns (response);
@@ -33,7 +33,7 @@ service product {
post /api/product/save-design(SaveDesignReq) returns (response);
//其他产品推荐列表
@handler OtherProductListHandler
get /api/product/other-list (OtherProductListReq) returns (response);
get /api/product/other-list(OtherProductListReq) returns (response);
//获取分类产品列表
@handler GetTagProductListHandler
get /api/product/tag_product_list(GetTagProductListReq) returns (response);
@@ -67,10 +67,10 @@ service product {
get /api/product/get_last_product_design(request) returns (response);
//获取详情页推荐产品列表
@handler GetRecommandProductListHandler
get /api/product/recommand (GetRecommandProductListReq) returns (response);
get /api/product/recommand(GetRecommandProductListReq) returns (response);
//获取列表页推荐产品列表
@handler HomePageRecommendProductListHandler
get /api/product/home_page_recommend (HomePageRecommendProductListReq) returns (response);
get /api/product/home_page_recommend(HomePageRecommendProductListReq) returns (response);
//*********************产品详情分解接口结束***********************
//*********************推荐产品接口开始××××××××××××××××××××××××××

View File

@@ -18,8 +18,8 @@ type RequestReadImages {
service render {
// 发送数据到unity渲染
@handler ToUnityHandler
get /api/render/to-unity (RequestToUnity) returns (response);
get /api/render/to-unity(RequestToUnity) returns (response);
// 读图像
@handler ReadImagesHandler
get /api/render/read-images (RequestReadImages) returns (response);
get /api/render/read-images(RequestReadImages) returns (response);
}

View File

@@ -20,7 +20,7 @@ service upload {
post /api/upload/upload-file-backend(RequestUploadFileBackend) returns (response);
//生成二维码
@handler UploadQrcodeHandler
post /api/upload/qrcode (UploadQrcodeReq) returns (response);
post /api/upload/qrcode(UploadQrcodeReq) returns (response);
}
type RequestUpFile {

View File

@@ -10,7 +10,7 @@ info (
import "basic.api"
service webset {
@handler WetSetSettingHandler
@handler WebSetSettingHandler
get /api/web-set/setting(RequestWebSet) returns (response);
}