提交api前缀修改

This commit is contained in:
eson 2023-07-12 11:09:43 +08:00
parent 55eabd5cae
commit 3c9fb417aa
14 changed files with 57 additions and 57 deletions

View File

@ -12,10 +12,10 @@ import "basic.api"
service backend {
// 报价单详情
@handler QuotationDetailHandler
get /quotation/detail(RequestQuotationId) returns (response);
get /api/quotation/detail(RequestQuotationId) returns (response);
@handler BackendUserLoginHandler
post /backend-user/login(RequestUserLogin) returns (response);
post /api/backend-user/login(RequestUserLogin) returns (response);
}
type RequestQuotationId {

View File

@ -11,10 +11,10 @@ import "basic.api"
service canteen {
//获取餐厅详情
@handler GetCanteenDetailHandler
post /canteen-type/detail(GetCanteenDetailReq) returns (response);
post /api/canteen-type/detail(GetCanteenDetailReq) returns (response);
//保存餐厅类型关联产品数据
@handler SaveCanteenTypeProductHandler
post /canteen-type/save(SaveCanteenTypeProductReq) returns (response);
post /api/canteen-type/save(SaveCanteenTypeProductReq) returns (response);
}
//获取餐厅详情

View File

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

View File

@ -11,40 +11,40 @@ import "basic.api"
service home-user-auth {
@handler UserLoginHandler
post /user/login(RequestUserLogin) returns (response);
post /api/user/login(RequestUserLogin) returns (response);
@handler AcceptCookieHandler
post /user/accept-cookie(request) returns (response);
post /api/user/accept-cookie(request) returns (response);
@handler UserFontsHandler
get /user/fonts(request) returns (response);
get /api/user/fonts(request) returns (response);
@handler UserGetTypeHandler
get /user/get-type(request) returns (response);
get /api/user/get-type(request) returns (response);
@handler UserSaveBasicInfoHandler
post /user/basic-info(RequestBasicInfoForm) returns (response);
post /api/user/basic-info(RequestBasicInfoForm) returns (response);
@handler UserStatusConfigHandler
post /user/status-config(request) returns (response);
post /api/user/status-config(request) returns (response);
@handler UserBasicInfoHandler
get /user/basic-info(request) returns (response);
get /api/user/basic-info(request) returns (response);
@handler UserAddressListHandler
get /user/address-list(request) returns (response);
get /api/user/address-list(request) returns (response);
@handler UserAddAddressHandler
post /user/add-address(RequestAddAddress) returns (response);
post /api/user/add-address(RequestAddAddress) returns (response);
@handler UserContactServiceHandler
post /user/contact-service (RequestContactService) returns (response);
post /api/user/contact-service (RequestContactService) returns (response);
// @handler UserOderListHandler
// get /user/order-list(RequestOrderId) returns (response);
// get /api/user/order-list(RequestOrderId) returns (response);
@handler UserOderDeleteHandler
post /user/order-delete(RequestOrderId) returns (response);
post /api/user/order-delete(RequestOrderId) returns (response);
}
type RequestContactService {

View File

@ -11,16 +11,16 @@ import "basic.api"
service inventory {
//提取云仓货物
@handler TakeHandler
post /inventory/take(TakeReq) returns (response);
post /api/inventory/take(TakeReq) returns (response);
//获取云仓库存列表
@handler GetCloudListHandler
get /inventory/list(GetCloudListReq) returns (response);
get /api/inventory/list(GetCloudListReq) returns (response);
//云仓补货
@handler SupplementHandler
post /inventory/supplement(SupplementReq) returns (response);
post /api/inventory/supplement(SupplementReq) returns (response);
//提货列表
@handler GetPickupListHandler
get /inventory/pick-up-list(GetPickupListReq) returns (response);
get /api/inventory/pick-up-list(GetPickupListReq) returns (response);
}
//提取云仓货物

View File

@ -12,10 +12,10 @@ import "basic.api"
service map-library {
//获取贴图库列表
@handler GetMapLibraryListHandler
get /map-library/list ( ) returns (response);
get /api/map-library/list (request) returns (response);
//保存贴图信息
@handler SaveMapLibraryHandler
post /map-library/save () returns (response);
post /api/map-library/save (request) returns (response);
}
//获取贴图库列表

View File

@ -12,10 +12,10 @@ import "basic.api"
service orders {
//获取订单发票
@handler GetOrderInvoiceHandler
get /order/invoice (GetOrderInvoiceReq) returns (response);
get /api/order/invoice (GetOrderInvoiceReq) returns (response);
//获取订单详情
@handler GetOrderDetailHandler
get /order/detail (GetOrderDetailReq) returns (response);
get /api/order/detail (GetOrderDetailReq) returns (response);
}
//获取订单发票

View File

@ -12,13 +12,13 @@ import "basic.api"
service product-model {
//获取产品模型详情
@handler GetModelDetailHandler
get /product-model/detail(GetModelDetailReq) returns (response);
get /api/product-model/detail(GetModelDetailReq) returns (response);
//获取产品模型其他信息
@handler GetModelOtherInfoHandler
get /product-model/other-info(GetModelOtherInfoReq) returns (response);
get /api/product-model/other-info(GetModelOtherInfoReq) returns (response);
//更新产品模型
@handler UpdateProductModelHandler
post /product-model/update-model(UpdateProductModelReq) returns (response);
post /api/product-model/update-model(UpdateProductModelReq) returns (response);
}
//获取产品模型详情

View File

@ -12,19 +12,19 @@ import "basic.api"
service product-template {
//获取产品模板详情
@handler GetTemplatevDetailHandler
get /product-template/detail(GetTemplatevDetailReq) returns (response);
get /api/product-template/detail(GetTemplatevDetailReq) returns (response);
//获取底图列表
@handler GetBaseMapListHandler
get /product-template/base-map-list( ) returns (response);
get /api/product-template/base-map-list( ) returns (response);
//底图批量保存
@handler SaveBaseMapHandler
post /product-template/base-map-update ( ) returns (response);
post /api/product-template/base-map-update ( ) returns (response);
//新增底图
@handler AddBaseMapHandler
post /product-template/base-map-add (AddBaseMapReq) returns (response);
post /api/product-template/base-map-add (AddBaseMapReq) returns (response);
//更新模板
@handler UpdateTemplateHandler
post /product-template/update-template (UpdateTemplateReq) returns (response);
post /api/product-template/update-template (UpdateTemplateReq) returns (response);
}
//获取产品模板详情

View File

@ -12,31 +12,31 @@ import "basic.api"
service product {
//获取产品列表
@handler GetProductListHandler
get /product/list(GetProductListReq) returns (response);
get /api/product/list(GetProductListReq) returns (response);
//获取支付成功后推荐产品
@handler GetSuccessRecommandHandler
get /product/success-recommand (GetSuccessRecommandReq) returns (response);
get /api/product/success-recommand (GetSuccessRecommandReq) returns (response);
//获取分类下的产品以及尺寸
@handler GetSizeByProductHandler
get /product/get-size-by-product returns (response);
get /api/product/get-size-by-product returns (response);
//获取保存的设计信息
@handler GetProductDesignHandler
get /product/design(GetProductDesignReq) returns (response);
get /api/product/design(GetProductDesignReq) returns (response);
//产品设计数据采集
@handler DesignGatherHandler
post /product/design-gather (DesignGatherReq) returns (response);
post /api/product/design-gather (DesignGatherReq) returns (response);
//获取产品信息
@handler GetProductInfoHandler
get /product/info(GetProductInfoReq) returns (response);
get /api/product/info(GetProductInfoReq) returns (response);
//保存设计信息
@handler SaveDesignHandler
post /product/save-design(SaveDesignReq) returns (response);
post /api/product/save-design(SaveDesignReq) returns (response);
//其他产品推荐列表
@handler OtherProductListHandler
get /product/other-list (OtherProductListReq) returns (response);
get /api/product/other-list (OtherProductListReq) returns (response);
//获取详情页推荐产品列表
@handler GetRecommandProductListHandler
get /product/recommand (GetRecommandProductListReq) returns (response);
get /api/product/recommand (GetRecommandProductListReq) returns (response);
}
//获取产品列表

View File

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

View File

@ -12,25 +12,25 @@ import "basic.api"
service shopping-cart-confirmation {
//添加入购物车
@handler CartAddHandler
post /cart/add (CartAddReq) returns (response);
post /api/cart/add (CartAddReq) returns (response);
//删除购物车
@handler CartDeleteHandler
post /cart/del (CartDeleteReq) returns (response);
post /api/cart/del (CartDeleteReq) returns (response);
//获取用户购物车数量
@handler CartNumberHandler
get /cart/num ( ) returns (response);
get /api/cart/num ( ) returns (response);
//获取用户购物车列表
@handler CartListHandler
get /cart/list (CartListReq) returns (response);
get /api/cart/list (CartListReq) returns (response);
//获取用户购物车订单详情
@handler CartOrderDetailHandler
get /cart/order-detail (CartOrderDetailReq) returns (response);
get /api/cart/order-detail (CartOrderDetailReq) returns (response);
//变更发货方式和地址
@handler ChangeOrderMethodHandler
post /cart/chang-order-method (ChangeOrderMethodReq) returns (response);
post /api/cart/chang-order-method (ChangeOrderMethodReq) returns (response);
//创建购物车订单
@handler CreateOrderHandler
post /cart/create-order (CreateOrderReq) returns (response);
post /api/cart/create-order (CreateOrderReq) returns (response);
}
//添加入购物车

View File

@ -11,16 +11,16 @@ import "basic.api"
service upload {
@handler UploadUpFileHandler
get /upload/up-file(RequestUpFile) returns (response);
get /api/upload/up-file(RequestUpFile) returns (response);
@handler UploadFileFrontendHandler
post /upload/upload-file-frontend(RequestUploadFileFrontend) returns (response);
post /api/upload/upload-file-frontend(RequestUploadFileFrontend) returns (response);
@handler UploadFileBackendHandler
post /upload/upload-file-backend(RequestUploadFileBackend) returns (response);
post /api/upload/upload-file-backend(RequestUploadFileBackend) returns (response);
//生成二维码
@handler UploadQrcodeHandler
post /upload/qrcode (UploadQrcodeReq) returns (response);
post /api/upload/qrcode (UploadQrcodeReq) returns (response);
}
type RequestUpFile {

View File

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