文档
测试

订单下单

POST
https://chaofen.zhongbochanghong.cn/addons/yun_shop/api.php?i=1&uuid=0&type=5&mid=2&version=v1.1.137&route=plugin.hotel.frontend.hotel.shop-create

接口描述

订单下单

请求参数

参数名
类型
描述
必填
hotel_id
int
酒店ID
必填
goods
array
json
必填
goods_id
int
商品id
必填
total
int
数量
必填
option_id
int
规格id
必填
dispatch_type_id
int
订单配送方式 ID
必填
mobile
int
手机号
必填
realname
string
收货人姓名
必填
order_type
int
固定传2
必填

说明 / 示例

``` { "result": 1, "msg": "成功", "data": { "order_ids": "37" } } ```