From 1bb2d1d1f4ed5cd0409d17180844b445bf63f213 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期六, 26 八月 2023 15:27:18 +0800 Subject: [PATCH] add --- docs/swagger.yaml | 72 ++++++++++++++++++++++++++++++++++++ 1 files changed, 72 insertions(+), 0 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 477fa41..6f41570 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -510,6 +510,9 @@ env: description: 鐜鍊� type: string + grpc-url: + description: grpc鏈嶅姟鍦板潃 + type: string iplimit-count: type: integer iplimit-time: @@ -3829,6 +3832,75 @@ summary: 鍒嗛〉鑾峰彇Product鍒楄〃 tags: - Product + /p/getProductListFromGrpc: + get: + consumes: + - application/json + parameters: + - in: query + name: deliveryTime + type: integer + - in: query + name: endCreatedAt + type: string + - description: 涓婚敭ID + in: query + name: id + type: integer + - description: 鍏抽敭瀛� + in: query + name: keyword + type: string + - in: query + name: maximumStock + type: integer + - in: query + name: minimumStock + type: integer + - in: query + name: name + type: string + - in: query + name: number + type: string + - description: 椤电爜 + in: query + name: page + type: integer + - description: 姣忛〉澶у皬 + in: query + name: pageSize + type: integer + - in: query + name: productType + type: string + - in: query + name: purchasePrice + type: number + - in: query + name: remark + type: string + - in: query + name: shippingDuration + type: integer + - in: query + name: startCreatedAt + type: string + - in: query + name: unit + type: string + produces: + - application/json + responses: + "200": + description: '{"success":true,"data":{},"msg":"鑾峰彇鎴愬姛"}' + schema: + type: string + security: + - ApiKeyAuth: [] + summary: 鍒嗛〉鑾峰彇Product鍒楄〃 + tags: + - Product /p/updateProduct: put: consumes: -- Gitblit v1.8.0