多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
# 创建新的商品订单 ~~~[api] post:http://thinkagentlarge.data.cuci.cc/store/api.v1.order/create.html *type=1#订单类型(0.拼团订单1.消费订单) *goods_info=3@颜色:红色,内存:16G@1@name:箱,ratio:72#商品参数(商品ID@商品规格@商品数量@name:单位名,ratio:比例) *address_id=6#会员收货地址 *express_id=91#快递公司ID *master_no=0#拼团主订单号(消费订单默认为0,团长订单默认为0),拼团成员的团长订单号 order_desc#订单描述 *unionid=ozGHaw4rp0tKZV4TEVrOTHkoni9c#绑定微信unionid *deviceid=1234567890#授权设备ID <<< 操作成功 { "code": 1, "msg": "获取商品列表成功!", "data": { "total": 0, "per_page": 15, "current_page": 1, "last_page": 0, "data": [] } } <<< 操作失败 { "code": 0, "msg": "无效的商品信息!", "data": [] } <<< 登录异常 { "code": 0, "msg": "还没有登录哦,请登录后再来访问!", "data": [] } <<< 参数异常 { "code": 0, "msg": "接口异常,缺少必要参数!", "data": [] } ~~~