企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC=3,3] ### 分销中心 ~~~[api] post:/index.php?ctl=Distribution_Buyer_Directseller&met=wapIndex&typ=json *string:u#u *string:k#k <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "user_id": "10029", "user_realname": "666", "user_mobile": "13333333333", "user_email": "", "user_type_id": "0", "user_level_id": "1", "user_active_time": "2018-03-19 16:01:14", "user_remark": "", "user_name": "13333333333", "user_sex": "2", "user_birthday": "2017-05-31", "user_mobile_verify": "0", "user_email_verify": "0", "user_cash": "0.00", "user_freeze_cash": "0.00", "user_provinceid": "30", "user_cityid": "470", "user_areaid": "4907", "user_area": "宁夏 银川市 永宁县", "user_logo": "https://sassucenter.local.yuanfeng021.com/ucenter/data/upload/images/1523413657.png", "user_hobby": "0", "user_points": "0", "user_freeze_points": "0", "user_growth": "0", "user_statu": "0", "user_ip": "114.95.158", "user_lastip": "114.95.158", "user_regtime": "2018-03-19 16:01:14", "user_logintime": "2018-04-11 16:16:26", "lastlogintime": "2018-04-11 16:12:50", "user_invite": "", "user_grade": "4", "user_update_date": "0000-00-00 00:00:00", "user_drp_id": "0", "user_qq": "", "user_report": "1", "user_buy": "1", "user_talk": "1", "user_ww": "", "user_am": "", "user_parent_id": "0", "user_directseller_commission": "0.00", "user_directseller_shop": null, "user_bt_status": "0", "shop_id": "2", "id": "10029", "invitors": "0", "month_invitors": "0", "promotion_order_nums": "0", "finish_nums": "0", "goods_num": "1", "directseller": { "shop_directseller_id": "2", "shop_id": "2", "directseller_id": "10029", "directseller_parent_id": "0", "directseller_shop_name": "", "directseller_enable": "1", "directseller_create_time": "2018-03-26 17:55:42", "directseller_common_ids": null, "id": "2" }, "shop_name": null } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 分销-推广用户 ~~~[api] post:/index.php?ctl=Distribution_Buyer_Directseller&met=directsellerList&typ=json *string:u#u *string:k#k *string:page#page *string:curpage#curpage *string:rows#rows *string:firstRow#firstRow *string:userName#userName *string:act#act <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 0, "totalsize": "0", "records": "0", "items": [] } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 分销店铺 ~~~[api] post:/index.php?ctl=Shop&met=directsellerGoodsList&typ=json *string:u#u *string:k#k *string:uid#uid *string:rows#rows *string:page#page *string:firstRow#firstRow *string:keywords#keywords *string:actorder#actorder *string:act#act <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 1, "totalsize": "1", "records": "1", "items": [ { "common_id": "106", "common_name": "Apple苹果 iPhone X", "common_promotion_tips": "", "cat_id": "179", "cat_name": "苹果手机", "shop_id": "2", "shop_name": "爱咋咋地", "shop_cat_id": ",,", "shop_goods_cat_id": 0, "goods_id": [ { "goods_id": "153", "color_id": 5 }, { "goods_id": "159", "color_id": 6 } ], "shop_self_support": "0", "shop_status": "3", "common_property": null, "common_spec_name": { "1": "颜色", "14": "套餐", "15": "存储容量" }, "common_spec_value": { "1": { "5": "深空灰色", "6": "银色" }, "14": { "20": "套餐一", "21": "套餐二", "22": "套餐三" }, "15": { "23": "64GB", "24": "256GB" } }, "brand_id": "0", "brand_name": "", "type_id": "29", "common_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180410/1523346996672333.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-10 15:57:43", "common_sell_time": "2018-04-10 15:57:43", "common_price": "7958.00", "common_market_price": "9999.00", "common_cost_price": "1500.00", "common_stock": "1051", "common_limit": "5", "common_alarm": "10", "common_code": "999", "common_platform_code": "0", "common_cubage": "0.10", "common_collect": "2", "common_evaluate": "0", "common_salenum": "3", "common_invoices": "1", "common_is_return": "0", "common_formatid_top": "0", "common_formatid_bottom": "0", "common_is_recommend": "2", "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.50", "common_second_cps_rate": "0.30", "common_third_cps_rate": "0.10", "common_is_directseller": "1", "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": "39.79", "common_goods_from": "1", "transport_area_id": "2", "id": "106" } ], "user_id": 10029, "shop": { "shop_directseller_id": "2", "shop_id": "2", "directseller_id": "10029", "directseller_parent_id": "0", "directseller_shop_name": "", "directseller_enable": "1", "directseller_create_time": "2018-03-26 17:55:42", "directseller_common_ids": null, "id": "2" }, "shop_qrcode": "https://sasswap.local.yuanfeng021.com//tmpl/member/directseller_store.html?uid=10029" } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 分销-推广订单 ~~~[api] post:/index.php?ctl=Distribution_Buyer_Directseller&met=directsellerOrder&typ=json *string:u#u *string:k#k *string:status#status *string:orderkey#orderkey *string:page#page *string:curpage#curpage *string:rows#rows *string:firstRow#firstRow <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 0, "totalsize": "0", "records": "0", "items": [], "t": "" } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 推广商品 ~~~[api] post:/index.php?ctl=Distribution_Buyer_Goods&met=index&typ=json *string:u#u *string:k#k *string:rows#rows *string:page#page *string:firstRow#firstRow *string:keywords#keywords *string:actorder#actorder *string:act#act <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 1, "totalsize": "1", "records": "1", "items": [ { "common_id": "106", "common_name": "Apple苹果 iPhone X", "common_promotion_tips": "", "cat_id": "179", "cat_name": "苹果手机", "shop_id": "2", "shop_name": "爱咋咋地", "shop_cat_id": ",,", "shop_goods_cat_id": 0, "goods_id": [ { "goods_id": "153", "color_id": 5 }, { "goods_id": "159", "color_id": 6 } ], "shop_self_support": "0", "shop_status": "3", "common_property": null, "common_spec_name": { "1": "颜色", "14": "套餐", "15": "存储容量" }, "common_spec_value": { "1": { "5": "深空灰色", "6": "银色" }, "14": { "20": "套餐一", "21": "套餐二", "22": "套餐三" }, "15": { "23": "64GB", "24": "256GB" } }, "brand_id": "0", "brand_name": "", "type_id": "29", "common_image": "https://sass.local.yuanfeng021.com/image.php/shop/data/upload/media/387d536e023f4e709a49c33d94dd622f/10003/2/image/20180410/1523346996672333.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-10 15:57:43", "common_sell_time": "2018-04-10 15:57:43", "common_price": "7958.00", "common_market_price": "9999.00", "common_cost_price": "1500.00", "common_stock": "1051", "common_limit": "5", "common_alarm": "10", "common_code": "999", "common_platform_code": "0", "common_cubage": "0.10", "common_collect": "2", "common_evaluate": "0", "common_salenum": "3", "common_invoices": "1", "common_is_return": "0", "common_formatid_top": "0", "common_formatid_bottom": "0", "common_is_recommend": "2", "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.50", "common_second_cps_rate": "0.30", "common_third_cps_rate": "0.10", "common_is_directseller": "1", "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": "39.79", "common_goods_from": "1", "transport_area_id": "2", "id": "106" } ], "user_id": "10029" } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~ ### 佣金明细 ~~~[api] post:/index.php?ctl=Distribution_Buyer_Directseller&met=directsellerCommission&typ=json *string:u#u *string:k#k *string:status#status *string:orderkey#orderkey *string:page#page *string:rows#rows *string:firstRow#firstRow <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 0, "totalsize": "0", "records": "0", "items": [], "t": "second" } } <<< error { "cmd_id": -140, "status": 250, "msg": "failure", "data": {} } ~~~