文档
测试

确认订单页面

POST
/api/order/liji_confirm

请求参数

参数名
类型
描述
必填
goods_id
int
产品id
必填
goods_size_id
int
多规格id
必填
store_id
int
不传返回默认,传·store_id 查找该store_id对应店铺信息
必填

响应参数

参数名
类型
描述
必填
goods
object
产品信息
必填
id
int
产品id
必填
thumbnail_http
string
产品图片
必填
name
string
产品名称
必填
rel_price
float
定金
必填
goods_size
object
产品规格信息
必填
id
int
产品规格id
必填
price
float
规格定金
必填
num
int
购买数量
必填
goods_id
int
产品id
必填
per_price
float
单价
必填
store
object
门店信息
必填
id
int
门店id
必填
name
string
门店名称
必填

说明 / 示例

{ "goods": { "id": 2, "name": "ceshi", "thumbnail": "/images/1653010762583.jpg", "price": 2000, "rel_price": 1, "express_price": null, "store": 1000, "ord": 0, "cate_id": 1, "sales_num": 10, "parameter": [ { "key": "规格", "value": "100*100" } ], "detail": "<img src=\"/editor/attached/image/20220520/20220520093251_13704.jpg\" alt=\"\" />", "home_page": 1, "status": 0, "comment_num": 0, "is_hot": 0, "created_at": "2022-05-20 09:39:22", "updated_at": "2022-07-18 16:18:13", "images": "<img src=\"/editor/attached/image/20220520/20220520093236_49892.jpg\" alt=\"\" />", "service":"[{\"key\":\"7\天\无\理\由\",\"value\":\"7\天\无\理\由\退\换\货\"}]", "deleted_at": null, "collect_num": 0, "customer_id": null, "deduction": "5.00", "final_payment": "1500.00", "process": "1,付定金-2,到店付尾款-3,发货", "video_src": null, "on_sale": [ { "key": "满减", "value": "满200减100" } ], "thumbnail_http": "http://127.0.0.77/images/1653010762583.jpg" }, "goods_size": null, "num": 1, "goods_id": "2", "per_price": 1, "store": { "id": 1, "name": "测试", "tel": "15254265894", "address": "四川省南充市顺庆区五星花园", "is_default": 1, "longitude": "106.115942", "latitude": "30.792762", "ord": 0, "content": null, "img": "/images/1653029847114.jpg", "created_at": "2022-05-20 14:57:54", "updated_at": "2022-05-20 14:57:58", "deleted_at": null, "image": "/images/1653029854641.jpg", "service_time": "8:00-18:00", "remark": null, "instruction": null, "img_http": "http://127.0.0.77/images/1653029847114.jpg", "image_http": "http://127.0.0.77/images/1653029854641.jpg", "instruction_arr": [], "remark_txt": [] } }