小程序(及后端)订单详情页完成;后端获取用户订单列表接口完成
This commit is contained in:
@@ -267,7 +267,7 @@
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "https://epp.only4.work/shop/good/miniprogram/detail?id=1",
|
||||
"raw": "https://epp.only4.work/shop/good/miniprogram/detail?id=2",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"epp",
|
||||
@@ -283,7 +283,7 @@
|
||||
"query": [
|
||||
{
|
||||
"key": "id",
|
||||
"value": "1"
|
||||
"value": "2"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -312,6 +312,164 @@
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "[线上] 小程序端下单",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"userId\": 1,\r\n \"orderList\": [\r\n {\r\n \"goodId\": 2,\r\n \"count\": 3\r\n },\r\n {\r\n \"goodId\": 3,\r\n \"count\": 1\r\n }\r\n ]\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": {
|
||||
"raw": "https://epp.only4.work/shop/order/miniprogram/createOrder",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"epp",
|
||||
"only4",
|
||||
"work"
|
||||
],
|
||||
"path": [
|
||||
"shop",
|
||||
"order",
|
||||
"miniprogram",
|
||||
"createOrder"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "[微服务] 小程序端下单",
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [],
|
||||
"body": {
|
||||
"mode": "raw",
|
||||
"raw": "{\r\n \"userId\": 1,\r\n \"orderList\": [\r\n {\r\n \"goodId\": 2,\r\n \"count\": 3\r\n },\r\n {\r\n \"goodId\": 3,\r\n \"count\": 1\r\n }\r\n ]\r\n}",
|
||||
"options": {
|
||||
"raw": {
|
||||
"language": "json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"url": {
|
||||
"raw": "http://localhost:8003/shop/order/miniprogram/createOrder",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8003",
|
||||
"path": [
|
||||
"shop",
|
||||
"order",
|
||||
"miniprogram",
|
||||
"createOrder"
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "[线上] 小程序订单详情",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "https://epp.only4.work/shop/order/miniprogram/orderDetail?orderId=1",
|
||||
"protocol": "https",
|
||||
"host": [
|
||||
"epp",
|
||||
"only4",
|
||||
"work"
|
||||
],
|
||||
"path": [
|
||||
"shop",
|
||||
"order",
|
||||
"miniprogram",
|
||||
"orderDetail"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "orderId",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "[微服务] 小程序订单详情",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8003/shop/order/miniprogram/orderDetail?orderId=1748800678865801225",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8003",
|
||||
"path": [
|
||||
"shop",
|
||||
"order",
|
||||
"miniprogram",
|
||||
"orderDetail"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "orderId",
|
||||
"value": "1",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"key": "orderId",
|
||||
"value": "1748800678865801225"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
},
|
||||
{
|
||||
"name": "[微服务] 小程序用户订单列表",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [],
|
||||
"url": {
|
||||
"raw": "http://localhost:8003/shop/order/miniprogram/listUserOrder?userId=1",
|
||||
"protocol": "http",
|
||||
"host": [
|
||||
"localhost"
|
||||
],
|
||||
"port": "8003",
|
||||
"path": [
|
||||
"shop",
|
||||
"order",
|
||||
"miniprogram",
|
||||
"listUserOrder"
|
||||
],
|
||||
"query": [
|
||||
{
|
||||
"key": "orderId",
|
||||
"value": "1",
|
||||
"disabled": true
|
||||
},
|
||||
{
|
||||
"key": "userId",
|
||||
"value": "1"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"response": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user