Browse Source

提交

master
gwbvipvip 7 months ago
parent
commit
5763a18607
4 changed files with 8 additions and 6 deletions
  1. +1
    -1
      src/pages/htmls/API/Goods/GoodsType/AddType/index.tsx
  2. +2
    -0
      src/pages/htmls/API/GroupMeal/DiningPlate/Edit/index.tsx
  3. +1
    -1
      src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode/index.tsx
  4. +4
    -4
      src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId/index.tsx

+ 1
- 1
src/pages/htmls/API/Goods/GoodsType/AddType/index.tsx View File

@@ -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: '排序' },
];


+ 2
- 0
src/pages/htmls/API/GroupMeal/DiningPlate/Edit/index.tsx View File

@@ -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 = [


+ 1
- 1
src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByChipCode/index.tsx View File

@@ -18,7 +18,7 @@ const publicrequestData = [
];

const requestData = [
{ attribute: 'qrCode', type: 'string', isrequired: "是", explicate: '二维码' },
{ attribute: 'chipCode', type: 'string', isrequired: "是", explicate: '芯片码' },
];

const returnData = [


+ 4
- 4
src/pages/htmls/API/GroupMeal/DiningPlateOrder/GetWeighOrderByOrderId/index.tsx View File

@@ -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 = () => (

<Title level={4}>接口英文名</Title>
<Paragraph>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<Text strong>GetWeighOrderPageByOpenId</Text>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<Text strong>GetWeighOrderByOrderId</Text>
</Paragraph>

<Title level={4}>功能描述</Title>
@@ -144,7 +144,7 @@ const App = () => (

<Title level={4}>调用方式</Title>
<Paragraph>
<blockquote>{" POST api/ExternalPlatform/WeighOrder/GetWeighOrderPageByOpenId"}</blockquote>
<blockquote>{" POST api/ExternalPlatform/WeighOrder/GetWeighOrderByOrderId"}</blockquote>
</Paragraph>

<Title level={4}>公共请求参数</Title>


Loading…
Cancel
Save