企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
创建拼团订单记录 --- * 当前传入groups_no时,视为拼团订单请求 * 当前type为2时,价格按`retail_price`零售价格计算(支付完成后自动完成订单) ~~~[api] post:https://zhongcaoji.xd.cuci.cc/store/api.member.groups_order/add *string:mid=2#会员ID *string:openid=oJmTm5ffiAF7nbdE0WEEtGBL5dAU#会员绑定的OPENID *string:type=2#订单类型(1拼团订单, 2普通订单) *string:gid=154547303395#团购信息ID string:groups_no=0#参团团购号(传入则为参团订单) <<< success { "code": 1, "info": "团购订单下单成功!", "data": { "id": 33, "mid": 2, "gid": 154547303395, "order_no": 15456188779804, "groups_no": 1545618877891, "is_master": 1, "type": 2, "title": "中草集祛痘面膜7片装改善痘痘男女轻盈补水保湿面膜贴收缩毛孔", "logo": "https://cuci-test-back1.oss-cn-shenzhen.aliyuncs.com/bfeec4c0445d00e7/2e30a1c1f34fb71d.png", "image": [ "https://cuci-test-back1.oss-cn-shenzhen.aliyuncs.com/75580fa3ec5f96b5/7f386a43fac44685.png" ], "content": "<p><img border=\"0\" src=\"https://cuci-test-back1.oss-cn-shenzhen.aliyuncs.com/e3b967c275a9aa37/b5fe6226d05a283b.jpg\" style=\"max-width:100%\" title=\"image\" /></p>\r\n", "real_price": "100.00", "retail_price": "100.00", "selling_price": "88.00", "wait_hours": 24, "num_limit": 0, "num_people": 1, "num_people_success": 0, "end_datetime": null, "yes_detetime": null, "pay_state": 0, "pay_type": "", "pay_price": "0.00", "pay_no": "", "pay_at": null, "cancel_state": 0, "cancel_at": null, "cancel_desc": "", "refund_state": 0, "refund_at": null, "refund_no": "", "refund_price": "0.00", "refund_desc": "", "is_sync": 0, "status": 1, "is_deleted": 0, "create_at": "2018-12-24 10:34:37", "list": [ { "id": 63, "mid": 2, "order_no": 15456188779804, "groups_no": 1545618877891, "gid": 154547303395, "cid": 28, "number": 1, "name": "苦参清爽祛痘套装", "type": "产品券", "bgimg": "https://cuci-test-back1.oss-cn-shenzhen.aliyuncs.com/e75714ce9282cea8/128cd23c97784a15.png", "price": "100.00", "content": "", "effective_days": 100, "status": 1 }, { "id": 64, "mid": 2, "order_no": 15456188779804, "groups_no": 1545618877891, "gid": 154547303395, "cid": 25, "number": 1, "name": "人参补水洗面奶", "type": "产品券", "bgimg": "https://cuci-test-back1.oss-cn-shenzhen.aliyuncs.com/ab69cb15e67be5d7/c7bf3530f510196b.png", "price": "200.00", "content": "1、本券仅限中草集门店使用;\r\n2、全国通用;\r\n3、使用时出示卡券二维码给门店店员扫码核销即可享受服务。", "effective_days": 100, "status": 1 } ] } } <<< 无效的团购 { "code": 0, "info": "无效的团购信息,请重新下单!", "data": [] } <<< 无效的会员 { "code": 0, "info": "无效的会员信息,请重新登录授权!", "data": [] } ~~~