文档
测试

创建订单

POST
http://localhost:8080/portal/order/create.do

请求参数

参数名
类型
描述
必填
shippingId
Integer
购物id
必填

响应参数

参数名
类型
描述
必填
status
Integer
状态码
必填
data
T
数据
必填

成功

{ "status": 200, "data": { "orderNo": 1583215555391, "shippingId": 2, "payment": 3, "paymentType": 1, "postage": 0, "status": 10, "orderItemVOList": [ { "orderNo": 1583215555391, "productId": null, "productName": null, "productImage": null, "currentUnitPrice": null, "quantity": null, "totalPrice": null }, { "orderNo": 1583215555391, "productId": 1, "productName": "搜索", "productImage": "3", "currentUnitPrice": 3, "quantity": 1, "totalPrice": 3 }, { "orderNo": 1583215555391, "productId": null, "productName": null, "productImage": null, "currentUnitPrice": null, "quantity": null, "totalPrice": null } ], "shippingVO": { "receiverName": "zhangsan", "receiverPhone": "010", "receiverMobile": "18688888888", "receiverProvince": "天津", "receiverCity": "北京市", "receiverDistrict": null, "receiverAddress": "中关村", "receiverZip": "100000" }, "imageHost": "image" } }