企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC=3,3] ### 门店自提-选择门店 ~~~[api] post:/index.php?ctl=Goods_Goods&met=chain&typ=json *string:u#u *string:k#k *string:goods_id#goods_id *string:shop_id#shop_id *string:goods_num#goods_num <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "current_province": "上海", "chain_provinces": { "1": [ "49" ] }, "chain_cities": { "49": [ { "chain_id": "12", "chain_name": "测试一下门店名称过长会显示啥样", "chain_mobile": "18999999999", "chain_telephone": "", "chain_contacter": "", "chain_province_id": "1", "chain_province": "北京", "chain_city_id": "49", "chain_city": "昌平区", "chain_county_id": "0", "chain_county": "", "chain_address": "哈哈哈哈哈哈哈哈哈哈哈", "chain_opening_hours": "9点", "chain_traffic_line": "", "chain_img": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180328/1522203852968775.jpg", "chain_time": "2018-03-28 10:24:21", "status": "1", "id": "12" } ] }, "chain_rows": [ { "chain_id": "12", "chain_name": "测试一下门店名称过长会显示啥样", "chain_mobile": "18999999999", "chain_telephone": "", "chain_contacter": "", "chain_province_id": "1", "chain_province": "北京", "chain_city_id": "49", "chain_city": "昌平区", "chain_county_id": "0", "chain_county": "", "chain_address": "哈哈哈哈哈哈哈哈哈哈哈", "chain_opening_hours": "9点", "chain_traffic_line": "", "chain_img": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180328/1522203852968775.jpg", "chain_time": "2018-03-28 10:24:21", "status": "1", "id": "12" } ] } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 门店自提-订单列表 ~~~[api] post:/index.php?ctl=Buyer_Order&met=chain&typ=json *string:u#u *string:k#k *string:firstRow#firstRow *string:status#status *string:orderkey#orderkey <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 5, "totalsize": "44", "records": "44", "items": [ { "order_id": "DD-10003-2-102-20180411114251-0001", "shop_id": "2", "shop_name": "爱咋咋地", "buyer_user_id": "10029", "buyer_user_name": "13333333333", "seller_user_id": "10003", "seller_user_name": "zade", "order_date": "2018-04-11", "order_create_time": "2018-04-11 11:42:51", "order_receiver_name": "55555555555", "order_receiver_address": "", "order_receiver_contact": "13345667221", "order_receiver_date": "0000-00-00 00:00:00", "payment_id": "1", "payment_name": "在线支付", "payment_time": "2018-04-11 11:42:54", "payment_number": "U20180411114251903", "payment_other_number": "U20180411114251903", "order_seller_name": "2342343", "order_seller_address": "北京 东城区 234242", "order_seller_contact": "13344556666", "order_shipping_time": "0000-00-00 00:00:00", "order_shipping_express_id": "0", "order_shipping_code": "", "order_shipping_message": "", "order_finished_time": "0000-00-00 00:00:00", "order_invoice": "", "order_invoice_id": "0", "order_goods_amount": "100.00", "order_payment_amount": "70.00", "order_discount_fee": "30.00", "order_point_fee": "0.00", "order_shipping_fee": "0.00", "order_buyer_evaluation_status": "0", "order_buyer_evaluation_time": "0000-00-00 00:00:00", "order_seller_evaluation_status": "0", "order_seller_evaluation_time": "0000-00-00 00:00:00", "order_message": "99999999999999999999999999", "order_status": "11", "order_points_add": "0", "voucher_id": "94", "voucher_price": "30.00", "voucher_code": "", "order_refund_status": "0", "order_return_status": "0", "order_refund_amount": "0.00", "order_return_num": "0", "order_from": "1", "order_commission_fee": "0.70", "order_commission_return_fee": "0.00", "order_is_virtual": "0", "order_virtual_code": "", "order_virtual_use": "0", "order_shop_hidden": "0", "order_buyer_hidden": "0", "order_subuser_hidden": "0", "order_cancel_identity": "0", "order_cancel_reason": "", "order_cancel_date": "0000-00-00 00:00:00", "order_shop_benefit": " 代金券:¥30.00 ", "chain_id": "11", "order_seller_message": "", "directseller_flag": "0", "directseller_p_id": "0", "redpacket_code": "", "redpacket_price": "0.00", "order_rpt_price": "0.00", "order_rpt_return": "0.00", "order_settlement_time": "0000-00-00 00:00:00", "order_is_settlement": "0", "shop_distributor_id": "0", "order_distribution_seller_type": "1", "order_distribution_buyer_type": "1", "order_source_id": "0", "directseller_gp_id": "0", "directseller_id": "0", "directseller_is_settlement": "0", "district_id": "38", "user_district_id": "0", "order_sub_pay": "0", "order_sub_user": "0", "order_directseller_commission": "0.00", "directseller_discount": "0.00", "order_user_discount": "0.00", "id": "DD-10003-2-102-20180411114251-0001", "express_name": "", "pintuan_temp_order": 0, "order_state_con": "待自提", "order_refund_status_con": "无退款", "complain_day": null, "complain_status": 0, "goods_list": [ { "order_goods_id": "524", "order_id": "DD-10003-2-102-20180411114251-0001", "goods_id": "74", "common_id": "67", "buyer_user_id": "10029", "goods_name": "爱宕级重型巡洋舰", "goods_class_id": "109", "spec_id": "0", "order_spec_info": [], "goods_price": "100.00", "order_goods_num": "1", "goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180327/1522144806409624.jpg", "order_goods_returnnum": "0", "order_goods_amount": "70.00", "order_goods_discount_fee": "30.00", "order_goods_payment_amount": "70.00", "order_goods_adjust_fee": "0.00", "order_goods_point_fee": "0.00", "order_goods_commission": "0.70", "shop_id": "2", "order_goods_status": "11", "order_goods_evaluation_status": "0", "order_goods_benefit": "", "goods_return_status": "0", "goods_refund_status": "0", "order_goods_time": "2018-04-11 11:42:51", "directseller_flag": "0", "directseller_id": "0", "directseller_is_settlement": "0", "directseller_commission_0": "0.00", "directseller_commission_1": "0.00", "directseller_commission_2": "0.00", "directseller_goods_discount": "0.00", "order_goods_source_id": "", "order_goods_source_ship": "", "order_goods_finish_time": "0000-00-00 00:00:00", "id": "524", "spec_text": "", "evaluation_count": 0, "goods_refund_status_con": "无退货", "goods_return_status_con": "无退款", "old_price": "100.00", "order_refund_id": null, "order_return_id": null, "title_order_spec_info": "" } ], "order_nums": 1 } ] } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 门店自提-订单详情 ~~~[api] post:/index.php?ctl=Buyer_Order&met=physical&act=details&typ=json *string:u#u *string:k#k *string:order_id#order_id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "order_id": "DD-10003-2-102-20180411114251-0001", "shop_id": "2", "shop_name": "爱咋咋地", "buyer_user_id": "10029", "buyer_user_name": "13333333333", "seller_user_id": "10003", "seller_user_name": "zade", "order_date": "2018-04-11", "order_create_time": "2018-04-11 11:42:51", "order_receiver_name": "55555555555", "order_receiver_address": "", "order_receiver_contact": "13345667221", "order_receiver_date": "0000-00-00 00:00:00", "payment_id": "1", "payment_name": "在线支付", "payment_time": "2018-04-11 11:42:54", "payment_number": "U20180411114251903", "payment_other_number": "U20180411114251903", "order_seller_name": "2342343", "order_seller_address": "北京 东城区 234242", "order_seller_contact": "13344556666", "order_shipping_time": "0000-00-00 00:00:00", "order_shipping_express_id": "0", "order_shipping_code": "", "order_shipping_message": "", "order_finished_time": "0000-00-00 00:00:00", "order_invoice": "", "order_invoice_id": "0", "order_goods_amount": "100.00", "order_payment_amount": "70.00", "order_discount_fee": "30.00", "order_point_fee": "0.00", "order_shipping_fee": "0.00", "order_buyer_evaluation_status": "0", "order_buyer_evaluation_time": "0000-00-00 00:00:00", "order_seller_evaluation_status": "0", "order_seller_evaluation_time": "0000-00-00 00:00:00", "order_message": "99999999999999999999999999", "order_status": "11", "order_points_add": "0", "voucher_id": "94", "voucher_price": "30.00", "voucher_code": "", "order_refund_status": "0", "order_return_status": "0", "order_refund_amount": "0.00", "order_return_num": "0", "order_from": "1", "order_commission_fee": "0.70", "order_commission_return_fee": "0.00", "order_is_virtual": "0", "order_virtual_code": "", "order_virtual_use": "0", "order_shop_hidden": "0", "order_buyer_hidden": "0", "order_subuser_hidden": "0", "order_cancel_identity": "0", "order_cancel_reason": "", "order_cancel_date": "0000-00-00 00:00:00", "order_shop_benefit": " 代金券:¥30.00 ", "chain_id": "11", "order_seller_message": "", "directseller_flag": "0", "directseller_p_id": "0", "redpacket_code": "", "redpacket_price": "0.00", "order_rpt_price": "0.00", "order_rpt_return": "0.00", "order_settlement_time": "0000-00-00 00:00:00", "order_is_settlement": "0", "shop_distributor_id": "0", "order_distribution_seller_type": "1", "order_distribution_buyer_type": "1", "order_source_id": "0", "directseller_gp_id": "0", "directseller_id": "0", "directseller_is_settlement": "0", "district_id": "38", "user_district_id": "0", "order_sub_pay": "0", "order_sub_user": "0", "order_directseller_commission": "0.00", "directseller_discount": "0.00", "order_user_discount": "0.00", "id": "DD-10003-2-102-20180411114251-0001", "order_state_con": "待自提", "order_refund_status_con": "无退款", "complain_day": null, "complain_status": 0, "order_buyer_evaluation_status_con": "is_uevaluate", "shop_address": "", "shop_phone": "", "shop_self_support": "false", "shop_logo": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522651794986295.jpg!200x60.jpg", "pintuan_temp": 0, "goods_list": [ { "order_goods_id": "524", "order_id": "DD-10003-2-102-20180411114251-0001", "goods_id": "74", "common_id": "67", "buyer_user_id": "10029", "goods_name": "爱宕级重型巡洋舰", "goods_class_id": "109", "spec_id": "0", "order_spec_info": [], "goods_price": "100.00", "order_goods_num": "1", "goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180327/1522144806409624.jpg", "order_goods_returnnum": "0", "order_goods_amount": "70.00", "order_goods_discount_fee": "30.00", "order_goods_payment_amount": "70.00", "order_goods_adjust_fee": "0.00", "order_goods_point_fee": "0.00", "order_goods_commission": "0.70", "shop_id": "2", "order_goods_status": "11", "order_goods_evaluation_status": "0", "order_goods_benefit": "", "goods_return_status": "0", "goods_refund_status": "0", "order_goods_time": "2018-04-11 11:42:51", "directseller_flag": "0", "directseller_id": "0", "directseller_is_settlement": "0", "directseller_commission_0": "0.00", "directseller_commission_1": "0.00", "directseller_commission_2": "0.00", "directseller_goods_discount": "0.00", "order_goods_source_id": "", "order_goods_source_ship": "", "order_goods_finish_time": "0000-00-00 00:00:00", "id": "524", "evaluation_count": 0, "goods_refund_status_con": "无退货", "goods_return_status_con": "无退款", "order_refund_id": null, "order_return_id": null, "pintuan_temp_order": 0, "spec_text": "" } ], "is_open_im": 1, "chain_info": { "chain_id": "11", "chain_name": "门卫李大爷的小卖铺", "chain_mobile": "13833838338", "chain_telephone": "", "chain_contacter": "", "chain_province_id": "9", "chain_province": "上海", "chain_city_id": "152", "chain_city": "闵行区", "chain_county_id": "0", "chain_county": "", "chain_address": "新桥镇莘砖公路668号双子楼A座楼下垃圾场左侧5米大门旮旯一角", "chain_opening_hours": "24小时营业", "chain_traffic_line": "松江68路、1810路、815路皆可到", "chain_img": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180327/1522114627229195.jpg", "chain_time": "2018-03-27 09:38:22", "status": "1", "id": "11" }, "chain_code": { "chain_code_id": "5913", "order_id": "DD-10003-2-102-20180411114251-0001", "chain_id": "11", "order_goods_id": "524", "chain_code_status": "0", "chain_code_usetime": "0000-00-00 00:00:00", "id": "5913" } } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 门店自提-确认订单 ~~~[api] post:/index.php?ctl=Buyer_Cart&met=confirmChain&typ=json *string:u#u *string:k#k *string:chain_id#chain_id *string:isGetBestOffer#isGetBestOffer *string:goods_id#goods_id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "goods_base": { "goods_id": "61", "common_id": "56", "shop_id": "2", "shop_name": "爱咋咋地", "goods_name": "俄罗斯方块", "goods_promotion_tips": "", "cat_id": "103", "brand_id": "0", "goods_spec": { "i_5": { "5": "纯黑" } }, "goods_price": "10.00", "goods_market_price": "100.00", "goods_stock": "866", "goods_alarm": "0", "goods_code": "", "goods_barcode": "", "goods_is_recommend": "1", "goods_click": "567", "goods_salenum": "63", "goods_collect": "4", "goods_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180320/1521509098372719.jpg", "color_id": "5", "goods_evaluation_good_star": "5", "goods_evaluation_count": "14", "goods_max_sale": "0", "goods_is_shelves": "1", "goods_recommended_price": "0.00", "goods_recommended_min_price": "0.00", "goods_recommended_max_price": "0.00", "goods_parent_id": "0", "id": "61", "groupbuy_info": [], "xianshi_info": [], "increase_info": [], "pintuan_info": [], "spec": [ "颜色:纯黑" ], "spec_str": "颜色:纯黑 ", "spec_val_str": "纯黑", "have_gift": "", "old_price": 0, "now_price": "10.00", "down_price": 0, "sumprice": "10.00", "cat_commission": "1.00", "commission": "0.10" }, "common_base": { "common_id": "56", "common_name": "俄罗斯方块", "common_promotion_tips": "", "cat_id": "103", "cat_name": "袜子", "shop_id": "2", "shop_name": "爱咋咋地", "shop_cat_id": ",,", "shop_goods_cat_id": 0, "goods_id": [ { "goods_id": "61", "color_id": 5 } ], "shop_self_support": "0", "shop_status": "3", "common_property": { "property_2": { "0": "尺码", "1": "2", "2": "select", "3": "2" } }, "common_spec_name": { "1": "颜色" }, "common_spec_value": { "1": { "5": "纯黑" } }, "brand_id": "0", "brand_name": "", "type_id": "2", "common_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180320/1521509098372719.jpg", "common_packing_list": "", "common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。\r\n", "common_state": "1", "common_state_remark": "", "common_verify": "1", "common_verify_remark": "", "common_add_time": "2018-04-09 15:23:40", "common_sell_time": "2018-04-09 15:23:40", "common_price": "10.00", "common_market_price": "100.00", "common_cost_price": "1.00", "common_stock": "870", "common_limit": "0", "common_alarm": "0", "common_code": "", "common_platform_code": "0", "common_cubage": "3.00", "common_collect": "3", "common_evaluate": "19", "common_salenum": "89", "common_invoices": "1", "common_is_return": "0", "common_formatid_top": "0", "common_formatid_bottom": "0", "common_is_recommend": "1", "common_is_virtual": "0", "common_virtual_date": "0000-00-00", "common_virtual_refund": "0", "transport_type_id": "0", "common_location": null, "common_is_tuan": "0", "common_is_xian": "0", "common_is_jia": "0", "common_shop_contract_1": "0", "common_shop_contract_2": "0", "common_shop_contract_3": "1", "common_shop_contract_4": "1", "common_shop_contract_5": "0", "common_shop_contract_6": "0", "cps_rate": "0", "second_cps_rate": "0", "third_cps_rate": "0", "common_cps_rate": "0.00", "common_second_cps_rate": "0.00", "common_third_cps_rate": "0.00", "common_is_directseller": "0", "product_lock_flag": "0", "product_agent_id": "0", "district_id": "38", "supply_shop_id": "0", "product_is_allow_update": "1", "product_is_allow_price": "1", "product_is_behalf_delivery": "1", "common_parent_id": "0", "goods_recommended_min_price": "0.00", "goods_recommended_max_price": "0.00", "product_distributor_flag": "0", "common_distributor_description": null, "common_distributor_flag": "0", "common_cps_commission": "0.00", "common_goods_from": "1", "transport_area_id": "4", "id": "56" }, "shop_base": { "shop_id": "2", "user_id": "10003", "user_name": "zade", "shop_name": "爱咋咋地", "shop_grade_id": "1", "shop_class_id": "1", "shop_all_class": "0", "shop_self_support": "false", "shop_business": "1", "shop_create_time": "2018-02-26 16:15:14", "shop_end_time": "2028-02-26 16:15:14", "shop_latitude": "", "shop_longitude": "", "shop_settlement_cycle": "30", "shop_settlement_last_time": "2018-03-28 23:59:59", "shop_points": "0", "shop_logo": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522651794986295.jpg!200x60.jpg", "shop_banner": "", "shop_status": "3", "shop_close_reason": "", "shop_praise_rate": "0.00", "shop_desccredit": "0.00", "shop_servicecredit": "0.00", "shop_deliverycredit": "0.00", "shop_collect": "1", "shop_template": "default", "shop_workingtime": "09:00~18:00", "shop_slide": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652457764210.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180402/1522652466531258.jpg,https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180403/1522746934572986.jpg,,", "shop_slideurl": "https://,https://,https://,https://,https://", "shop_domain": "SaaS", "shop_region": "", "shop_address": "", "shop_qq": "", "shop_ww": "", "shop_tel": "", "shop_free_shipping": "99999", "shop_account": "", "shop_payment": "1", "joinin_year": "10", "is_renovation": "0", "is_only_renovation": "0", "is_index_left": "0", "shop_print_desc": "66666666", "shop_stamp": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180331/1522489868615678.png!120x120.png", "shop_parent_id": "0", "shop_type": "1", "district_id": "38", "shop_verify_reason": "qqq", "shop_common_service": "服务说明书,又名服务指南。是服务行业、社会服务机构向用户介绍自己所提供服务的性质、对象、收费情况及申请或使用这种服务的办法、条件等而使用的说明书。\n", "shop_contract_return": "1", "shop_contract_breakage": "0", "shop_contract_quality": "1", "shop_contract_extreme": "1", "id": "2" }, "cart": { "cart_id": "728", "user_id": "10029", "shop_id": "2", "goods_id": "61", "goods_num": "1", "cart_status": "0", "id": "728" }, "orderAmount": "10.00", "user_rate": 0.4, "goodsPromotionStatus": 0, "memberDiscount": "6.00", "bestOffer": { "voucherId": 0, "redPackId": 0, "voucherPrice": 0, "redPackPrice": 0 }, "voucherList": [ { "voucher_id": "102", "voucher_code": "", "voucher_t_id": "32", "voucher_title": "测试积分领取代金券", "voucher_desc": "测试免费领取代金券", "voucher_start_date": "2018-04-08 14:06:15", "voucher_end_date": "2018-04-11 23:59:59", "voucher_price": "30.00", "voucher_limit": "100.00", "voucher_shop_id": "2", "voucher_state": "2", "voucher_active_date": "2018-04-10 15:05:40", "voucher_type": "0", "voucher_owner_id": "10029", "voucher_owner_name": "13333333333", "voucher_order_id": "DD-10003-2-102-2018041116", "id": "102", "endTime": 1523462399, "endDate": "2018-04-11", "permission": 0 } ], "redPacketList": [], "enabledVoucher": 0, "enabledRedPacket": 0, "chain": { "chain_id": "11", "chain_name": "门卫李大爷的小卖铺", "chain_mobile": "13833838338", "chain_telephone": "", "chain_contacter": "", "chain_province_id": "9", "chain_province": "上海", "chain_city_id": "152", "chain_city": "闵行区", "chain_county_id": "0", "chain_county": "", "chain_address": "新桥镇莘砖公路668号双子楼A座楼下垃圾场左侧5米大门旮旯一角", "chain_opening_hours": "24小时营业", "chain_traffic_line": "松江68路、1810路、815路皆可到", "chain_img": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180327/1522114627229195.jpg", "chain_time": "2018-03-27 09:38:22", "status": "1", "id": "11" }, "address": [ { "user_address_id": "41", "user_id": "10029", "user_address_contact": "55555555555", "user_address_province_id": "6", "user_address_city_id": "109", "user_address_area_id": "1543", "user_address_area": "辽宁 鞍山市 台安县", "user_address_address": "23123", "user_address_phone": "13345667221", "user_address_company": "", "user_address_default": "1", "user_address_time": "2018-04-09 10:45:24", "id": "41" } ] } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 门店自提-确认订单修改数量 ~~~[api] post:/index.php?ctl=Buyer_Cart&met=editCartNum&typ=json *string:u#u *string:k#k *string:chain_id#chain_id *string:isGetBestOffer#isGetBestOffer *string:num#num <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "price": 20 } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~