From 5763a186076e4bbfcebce933acfead79b9ad23c6 Mon Sep 17 00:00:00 2001 From: gwbvipvip Date: Wed, 3 Apr 2024 14:04:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/htmls/API/Goods/GoodsType/AddType/index.tsx | 2 +- src/pages/htmls/API/GroupMeal/DiningPlate/Edit/index.tsx | 2 ++ .../DiningPlateOrder/GetWeighOrderByChipCode/index.tsx | 2 +- .../DiningPlateOrder/GetWeighOrderByOrderId/index.tsx | 8 ++++---- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/pages/htmls/API/Goods/GoodsType/AddType/index.tsx b/src/pages/htmls/API/Goods/GoodsType/AddType/index.tsx index 622a4b6..375cc31 100644 --- a/src/pages/htmls/API/Goods/GoodsType/AddType/index.tsx +++ b/src/pages/htmls/API/Goods/GoodsType/AddType/index.tsx @@ -18,7 +18,7 @@ const publicrequestData = [ { attribute: 'sign', type: 'string', isrequired: "是", explicate: '签名,详见 安全规则=>签名算法' } ]; const requestData = [ - { attribute: 'pid', type: 'string', isrequired: "是", explicate: '父级id,没有父级则传0' }, + { attribute: 'pid', type: 'string', isrequired: "否", explicate: '父级id,没有父级则传0' }, { attribute: 'name', type: 'string', isrequired: "是", explicate: '分类名称' }, { attribute: 'sort', type: 'string', isrequired: "是", explicate: '排序' }, ]; diff --git a/src/pages/htmls/API/GroupMeal/DiningPlate/Edit/index.tsx b/src/pages/htmls/API/GroupMeal/DiningPlate/Edit/index.tsx index 1b12d7b..2291596 100644 --- a/src/pages/htmls/API/GroupMeal/DiningPlate/Edit/index.tsx +++ b/src/pages/htmls/API/GroupMeal/DiningPlate/Edit/index.tsx @@ -20,6 +20,8 @@ const publicrequestData = [ const requestData = [ { attribute: 'qrCode', type: 'string', isrequired: "是", explicate: '二维码' }, { attribute: 'chipCode', type: 'string', isrequired: "是", explicate: '芯片码' }, + { attribute: 'isPay', type: 'bool', isrequired: "是", explicate: '是否付费' }, + ]; const returnData = [ diff --git a/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode/index.tsx b/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode/index.tsx index 9393956..c870c11 100644 --- a/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode/index.tsx +++ b/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode/index.tsx @@ -18,7 +18,7 @@ const publicrequestData = [ ]; const requestData = [ - { attribute: 'qrCode', type: 'string', isrequired: "是", explicate: '二维码' }, + { attribute: 'chipCode', type: 'string', isrequired: "是", explicate: '芯片码' }, ]; const returnData = [ diff --git a/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId/index.tsx b/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId/index.tsx index 474a712..ab796b2 100644 --- a/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId/index.tsx +++ b/src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId/index.tsx @@ -9,7 +9,7 @@ import { Descriptions, Radio, Space, Switch } from 'antd'; import dayjs from 'dayjs'; import { useState } from 'react'; -const requeststr = '{ "openId": "string" }'; +const requeststr = '{ "orderId": "string" }'; const returnstr = '{ "statusCode": 0, "data": { "id": "string", "groupId": "string", "orderNumber": "string", "totalAmount": 0, "subject": "string", "sceneId": "string", "states": 0, "payStates": 0, "createAt": "2024-03-22T02:48:36.595Z", "createId": "string", "transactionId": "string", "tradeNo": "string", "goodsInfo": [ { "id": "string", "groupId": "string", "orderId": "string", "diningPlateId": "string", "goodsId": "string", "goodsName": "string", "totalAmount": 0, "price": "string", "goodsWeight": 0, "goodsAttribute": [ { "attributeId": "string", "attributeName": "string" } ] } ], "diningPlateInfo": [ { "orderId": "string", "diningPlateId": "string", "qrCode": "string", "chipCode": "string", "isPay": true, "goodsInfo": [ { "id": "string", "groupId": "string", "orderId": "string", "diningPlateId": "string", "goodsId": "string", "goodsName": "string", "totalAmount": 0, "price": "string", "goodsWeight": 0, "goodsAttribute": [ { "attributeId": "string", "attributeName": "string" } ] } ] } ], "memberInfo": { "isMember": true, "name": "string" }, "isFree": true }, "succeeded": true, "errors": "string", "extras": "string", "timestamp": 0 }'; @@ -18,7 +18,7 @@ const publicrequestData = [ ]; const requestData = [ - { attribute: 'openId', type: 'string', isrequired: "是", explicate: 'openId' }, + { attribute: 'orderId', type: 'string', isrequired: "是", explicate: 'orderId' }, ]; const returnData = [ @@ -127,7 +127,7 @@ const App = () => ( 接口英文名 -       GetWeighOrderPageByOpenId +       GetWeighOrderByOrderId 功能描述 @@ -144,7 +144,7 @@ const App = () => ( 调用方式 -
{" POST api/ExternalPlatform/WeighOrder/GetWeighOrderPageByOpenId"}
+
{" POST api/ExternalPlatform/WeighOrder/GetWeighOrderByOrderId"}
公共请求参数