|
|
@@ -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> |
|
|
|
<Text strong>GetWeighOrderPageByOpenId</Text> |
|
|
|
<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> |
|
|
|