企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
# 商家店铺 #### 店铺列表 ``` <pre class="calibre14">``` get:/index.php?ctl=Api_Shop_Manage&met=shopIndex&typ=json string:user_type#0-店主账号 1-店铺名称 string:search_name#搜索相关内容 string:shop_class#店铺类型 int:page=1#页数 int:rows=10#每页记录数 <<< success { "cmd_id": -140, "status": 200, "msg": "success 1 20", "data": { "page": 1, "total": 1, "totalsize": "1", "records": "1", "items": [{ "shop_id": "4", //店铺id "user_id": "10018", //用户id "user_name": "5522aa", //用户名称 "shop_name": "小发店铺", //店铺名称 "shop_grade_id": "1", //店铺等级 "shop_class_id": "1", //店铺绑定分类,如果是自营店铺就为0 "shop_all_class": "0", //绑定所有经营类目 "shop_self_support": "false", //是否自营 false-非自营 true-自营 "shop_business": "1", //0:个人入驻 1:企业入驻 "shop_create_time": "2019-04-18 14:08:18", //开店时间 "shop_end_time": "2024-04-18 14:08:18", //有效截止时间 "shop_latitude": "", //纬度 "shop_longitude": "", //经度 "shop_settlement_cycle": "30", //结算周期-天为单位-如果您想设置结算周期为一个月,则可以输入30 "shop_settlement_last_time": "2019-04-18 14:08:18", //店铺上次结算时间,若是新开店铺没有结算单,则是开店日期 "shop_points": "0", //积分 "shop_logo": "", //店铺logo "wap_shop_logo": "", //app/wap店铺logo "shop_banner": "", //店铺banner "shop_status": "3", //店铺状态-3:开店成功 2:待审核付款 1:待审核资料 0:关闭 "shop_close_reason": "", //关闭原因 "shop_praise_rate": "0.00", "shop_desccredit": "0.00", "shop_servicecredit": "0.00", "shop_deliverycredit": "0.00", "shop_collect": "0", "shop_template": "default", //店铺绑定模板 "shop_workingtime": "", "shop_slide": "", "shop_slideurl": "", "shop_domain": "", //二级域名 "shop_region": "", //店铺默认配送区域 "shop_address": "", //详细地址 "shop_qq": "", //QQ "shop_ww": "", //旺旺 "shop_tel": "", //卖家电话 "area_code": "86", //国际手机号区号 "shop_free_shipping": "0", //免运费额度 "shop_account": "", //商家账号 "shop_payment": "1", //0:未付款,1已付款 "joinin_year": "5", //加入时间 "is_renovation": "0", //是否开启装修(0:否,1:是) "is_only_renovation": "0", //是否仅显示装修(1:是,0:否) "is_index_left": "0", //是否左侧显示 "shop_print_desc": null, //打印订单页面下方说明 "shop_stamp": null, //店铺印章-将出现在打印订单的右下角位置 "shop_parent_id": "0", //上级店铺id-创建店铺决定,所属分销商-不可更改! 佣金公平性考虑 "shop_type": "1", //店铺类型: 1-卖家店铺; 2:供应商店铺 "district_id": "38", //所在地,使用最后一级分类 "shop_verify_reason": "111", //审核信息备注 "shop_common_service": "", //店铺售后服务 "id": "4", "shop_status_cha": "开店成功", "shop_all_class_cha": "否", "shop_payment_cha": "已付款", "shop_class": "测试分类", "shop_grade": "普通店铺", "is_collect": 0, "shop_company_name": "测试公司", //公司名称 "shop_company_address": "北京 西城区", //公司所在地 "company_address_detail": "犄角旮旯", //公司详细地址 "company_employee_count": "50", //员工总数 "company_registered_capital": "500", //注册资金 "company_phone": "0211511241", //公司电话 "contacts_phone": "15112345678", //联系人电话 "contacts_email": "11@11.com", //联系人email "contacts_name": "柴秦", //联系人姓名 "legal_person": "", //法定代表人姓名 "legal_person_number": "", //法人身份证号 "legal_person_electronic": "", //法人身份证电子版 "legal_person_electronic2": "", //证件照反面 "legal_identity_type": "1", //证件类型 1身份证 2护照 3军官证 "business_license_location": "北京 西城区", //营业执照所在地 "establish_date": "0000-00-00", //成立日期 "business_licence_start": "2019-04-01", //法定经营范围开始时间 "business_licence_end": "2021-04-29", //法定经营范围结束时间 "business_sphere": "", //业务范围 "business_license_electronic": "http:\/\/localhost\/bbc\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555567366140937.jpg", //营业执照电子版 "organization_code": "", //组织机构代码 "organization_code_start": "0000-00-00", //组织机构代码证有效期开始时间 "organization_code_end": "0000-00-00", //组织机构代码证有效期结束时间 "organization_code_electronic": "", //组织机构代码证电子版 "general_taxpayer": "http:\/\/localhost\/bbc_jh\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555567633125033.jpg", //一般纳税人证明 "bank_account_name": "大发银行", //银行开户名 "bank_account_number": "123456789", //公司银行账号 "bank_name": "西城支行", //开户银行支行名称 "bank_code": "9876543210", //开户银行支行联行号 "bank_address": "北京 西城区", //开户银行支行所在地 "bank_licence_electronic": "http:\/\/localhost\/bbc_jh\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555567628622239.jpg", //开户银行许可证电子版 "tax_registration_certificate": "", //税务登记证号 "taxpayer_id": "", //纳税人识别号 "tax_registration_certificate_electronic": "", //税务登记证号电子版 "payment_voucher": "http:\/\/localhost\/bbc_jh\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555571543168512.jpg", //付款凭证 "payment_voucher_explain": "asdfasdfasd", //付款凭证说明 "shop_class_ids": "", //店铺经营类目ID集合 "shop_class_names": "", //店铺经营类目名称集合 "shop_class_commission": "", //店铺经营类目佣金比例 "fee": "0.00", "deposit": "0.00", //保证金 "business_id": "5664868465454654", //营业执照号 "company_apply_image": "" //申请扩展图片字段 }] } } <<< error {     "cmd_id":-140,     "status":250,     "msg":"分站信息获取失败",     "data":[ ] } {     "cmd_id":-140,     "status":250,     "msg":"没有数据",     "data":[ ] } ``` ``` #### 店铺详情 ``` <pre class="calibre14">``` get:/index.php?ctl=Api_Shop_Manage&met=getShoplist&shop_id=5&typ=json *string:shop_id#店铺id <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "base": { "4": { "shop_id": "4", //店铺id "user_id": "10018", //用户id "user_name": "5522aa", //用户名称 "shop_name": "小发店铺", //店铺名称 "shop_grade_id": "1", //店铺等级 "shop_class_id": "1", //店铺绑定分类,如果是自营店铺就为0 "shop_all_class": "0", //绑定所有经营类目 "shop_self_support": "false", //是否自营 false-非自营 true-自营 "shop_business": "1", //0:个人入驻 1:企业入驻 "shop_create_time": "2019-04-18 14:08:18", //开店时间 "shop_end_time": "2024-04-18 14:08:18", //有效期截止时间 "shop_latitude": "", //纬度 "shop_longitude": "", //经度 "shop_settlement_cycle": "30", //结算周期-天为单位-如果您想设置结算周期为一个月,则可以输入30 "shop_settlement_last_time": "2019-04-18 14:08:18", //店铺上次结算时间,若是新开店铺没有结算单,则是开店日期 "shop_points": "0", //积分 "shop_logo": "", //店铺logo "wap_shop_logo": "", //app/wap店铺logo "shop_banner": "", //店铺banner "shop_status": "3", //店铺状态-3:开店成功 2:待审核付款 1:待审核资料 0:关闭 "shop_close_reason": "", //关闭原因 "shop_praise_rate": "0.00", "shop_desccredit": "0.00", "shop_servicecredit": "0.00", "shop_deliverycredit": "0.00", "shop_collect": "0", "shop_template": "default", //店铺绑定模板 "shop_workingtime": "", "shop_slide": "", "shop_slideurl": "", "shop_domain": "", //二级域名 "shop_region": "", //店铺默认配送区域 "shop_address": "", //详细地址 "shop_qq": "", //qq "shop_ww": "", //旺旺 "shop_tel": "", //卖家电话 "area_code": "86", //国际手机号区号 "shop_free_shipping": "0", //免运费额度 "shop_account": "", //商家账号 "shop_payment": "1", //0:未付款,1已付款 "joinin_year": "5", //加入时间 "is_renovation": "0", //是否开启装修(0:否,1:是) "is_only_renovation": "0", //是否仅显示装修(1:是,0:否) "is_index_left": "0", //是否左侧显示 "shop_print_desc": null, //打印订单页面下方说明 "shop_stamp": null, //店铺印章-将出现在打印订单的右下角位置 "shop_parent_id": "0", //上级店铺id-创建店铺决定,所属分销商-不可更改! 佣金公平性考虑 "shop_type": "1", //店铺类型: 1-卖家店铺; 2:供应商店铺 "district_id": "38", //所在地,使用最后一级分类 "shop_verify_reason": "111", //审核信息备注 "shop_common_service": "", //店铺售后服务 "id": "4", "shop_company_name": "测试公司", //公司名称 "shop_company_address": "北京 西城区", //公司所在地 "company_address_detail": "犄角旮旯", //公司详细地址 "company_employee_count": "50", //员工总数 "company_registered_capital": "500", //注册资金 "company_phone": "0211511241", //公司电话 "contacts_phone": "15112345678", //联系人电话 "contacts_email": "11@11.com", //联系人email "contacts_name": "柴秦", //联系人姓名 "legal_person": "", //法定代表人姓名 "legal_person_number": "", //法人身份证号 "legal_person_electronic": "", //法人身份证电子版 "legal_person_electronic2": "", //证件照反面 "legal_identity_type": "1", //证件类型 1身份证 2护照 3军官证 "business_license_location": "北京 西城区", //营业执照所在地 "establish_date": "0000-00-00", //成立日期 "business_licence_start": "2019-04-01", //法定经营范围开始时间 "business_licence_end": "2021-04-29", //法定经营范围结束时间 "business_sphere": "", //业务范围 "business_license_electronic": "http:\/\/localhost\/bbc_jh\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555567366140937.jpg", //营业执照电子版 "organization_code": "''", //组织机构代码 "organization_code_start": "0000-00-00", //组织机构代码证有效期开始时间 "organization_code_end": "0000-00-00", //组织机构代码证有效期结束时间 "organization_code_electronic": "", //组织机构代码证电子版 "general_taxpayer": "http:\/\/localhost\/bbc_jh\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555567633125033.jpg", //一般纳税人证明 "bank_account_name": "大发银行", //银行开户名 "bank_account_number": "'123456789'", //公司银行账号 "bank_name": "西城支行", //开户银行支行名称 "bank_code": "'9876543210'", //开户银行支行联行号 "bank_address": "北京 西城区", //开户银行支行所在地 "bank_licence_electronic": "http:\/\/localhost\/bbc_jh\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555567628622239.jpg", //开户银行许可证电子版 "tax_registration_certificate": "", //税务登记证号 "taxpayer_id": "", //纳税人识别号 "tax_registration_certificate_electronic": "", //税务登记证号电子版 "payment_voucher": "http:\/\/localhost\/bbc_jh\/shop\/image.php\/shop\/data\/upload\/media\/plantform\/421aa90e079fa326b6494f812ad13e79\/image\/20190418\/1555571543168512.jpg", //付款凭证 "payment_voucher_explain": "asdfasdfasd", //付款凭证说明 "shop_class_ids": "", //店铺经营类目ID集合 "shop_class_names": "", //店铺经营类目名称集合 "shop_class_commission": "", //店铺经营类目佣金比例 "fee": "0.00", "deposit": "0.00", //保证金 "business_id": "5664868465454654", //营业执照号 "company_apply_image": "", //申请扩展图片字段 "legal_identity_type_content": "身份证", //证件类型 "shop_class": { //店铺分类 "1": { //店铺分类id "shop_class_id": "1", //店铺分类id "shop_class_name": "测试分类", //店铺分类名称 "shop_class_deposit": "3000.00", //保证金数额(元) "shop_class_displayorder": "1", //显示次序 "id": "1" } }, "shop_grade": { "1": { //店铺等级id "shop_grade_id": "1", //店铺等级id "shop_grade_name": "普通店铺", //店铺等级名称 "shop_grade_fee": "99.00", //收费标准-收费标准,单:元/年,必须为数字,在会员开通或升级店铺时将显示在前台 "shop_grade_desc": "22", //申请说明 "shop_grade_goods_limit": "0", //可发布商品数 0:无限制 "shop_grade_album_limit": "0", //可上传图片数 "shop_grade_template": "default", //店铺可选模板 "shop_grade_function_id": "0", //可用附加功能-function_editor_multimedia "shop_grade_sort": "0", //级别-数值越大表明级别越高 "id": "1" } }, "classbind": { //店铺所有的经营类目名称以及分佣比例 "page": 1, "total": 1, "totalsize": "3", "records": "3", "items": { "shop_class_bind_id": ["3", "4", "5"], "shop_class_bind_enablecha": ["已审核", "已审核", "已审核"], "commission_rate": ["1.00", "1.00", "1.00"], "shop_class_bind_enable": ["2", "2", "2"], "product_parent_name": [ [{ "cat_id": "412", //分类id "cat_name": "三级分类1", //分类名称 "cat_parent_id": "0", //父类 "cat_pic": "", //分类图片 "type_id": "31", //类型id "cat_commission": "1", //分佣比例 "cat_is_wholesale": "0", "cat_is_virtual": "0", //是否允许虚拟 0-不允许 1-允许 "cat_templates": "0", "cat_displayorder": "0", //排序 "cat_level": "0", //分类级别 "cat_show_type": "0", //1:SPU 2:颜色 "id": "412" }, { "cat_id": "412", "cat_name": "三级分类1", "cat_parent_id": "0", "cat_pic": "", "type_id": "31", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "0", "cat_level": "0", "cat_show_type": "0", "id": "412" }], [{ "cat_id": "382", "cat_name": "测试类目", "cat_parent_id": "0", "cat_pic": "http:\/\/www.jh.st.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/2067c64a2a8358d9520a1798650b78f2\/image\/20190415\/1555292438307872.jpg", "type_id": "31", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "255", "cat_level": "0", "cat_show_type": "0", "id": "382" }, { "cat_id": "382", "cat_name": "测试类目", "cat_parent_id": "0", "cat_pic": "http:\/\/www.jh.st.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/2067c64a2a8358d9520a1798650b78f2\/image\/20190415\/1555292438307872.jpg", "type_id": "31", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "255", "cat_level": "0", "cat_show_type": "0", "id": "382" }, { "cat_id": "384", "cat_name": "二级分类2", "cat_parent_id": "382", "cat_pic": "", "type_id": "0", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "0", "cat_level": "0", "cat_show_type": "0", "id": "384" }, { "cat_id": "413", "cat_name": "三级分类2", "cat_parent_id": "384", "cat_pic": "", "type_id": "0", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "0", "cat_level": "0", "cat_show_type": "0", "id": "413" }], [{ "cat_id": "382", "cat_name": "测试类目", "cat_parent_id": "0", "cat_pic": "http:\/\/www.jh.st.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/2067c64a2a8358d9520a1798650b78f2\/image\/20190415\/1555292438307872.jpg", "type_id": "31", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "255", "cat_level": "0", "cat_show_type": "0", "id": "382" }, { "cat_id": "382", "cat_name": "测试类目", "cat_parent_id": "0", "cat_pic": "http:\/\/www.jh.st.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/plantform\/2067c64a2a8358d9520a1798650b78f2\/image\/20190415\/1555292438307872.jpg", "type_id": "31", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "255", "cat_level": "0", "cat_show_type": "0", "id": "382" }, { "cat_id": "384", "cat_name": "二级分类2", "cat_parent_id": "382", "cat_pic": "", "type_id": "0", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "0", "cat_level": "0", "cat_show_type": "0", "id": "384" }, { "cat_id": "414", "cat_name": "三级分类2", "cat_parent_id": "384", "cat_pic": "", "type_id": "0", "cat_commission": "1", "cat_is_wholesale": "0", "cat_is_virtual": "0", "cat_templates": "0", "cat_displayorder": "0", "cat_level": "0", "cat_show_type": "0", "id": "414" }] ], "shop_class_bind_desc": ["", "", ""] } } } } } } <<< error {     "cmd_id":-140,     "status":250,     "msg":"缺少shop_id",     "data":[ ] } ``` ``` #### 自营店铺列表 ``` <pre class="calibre14">``` get:/index.php?ctl=Api_Shop_Selfsupport&met=shopIndex&typ=json string:user_type#搜索类型 0-店主账号 1-店铺名称 string:search_name#搜索内容 <<< success { "cmd_id": -140, "status": 200, "msg": "success", "data": { "page": 1, "total": 1, "totalsize": "1", "records": "1", "items": [{ "shop_id": "1", "user_id": "10004", "user_name": "note", "shop_name": "测试店铺", "shop_grade_id": "0", "shop_class_id": "0", "shop_all_class": "1", "shop_self_support": "true", "shop_business": "1", "shop_create_time": "2019-03-21 10:27:57", "shop_end_time": "2019-09-21 10:27:57", "shop_latitude": "", "shop_longitude": "", "shop_settlement_cycle": "30", "shop_settlement_last_time": "2019-03-21 10:27:57", "shop_points": "0", "shop_logo": "http:\/\/shop.com\/image.php\/shop\/data\/upload\/media\/00f844d3e1adc84fc09d03ca6ec48be0\/10004\/1\/image\/20190321\/1553153802147541.png!200x60.png", "wap_shop_logo": "http:\/\/shop.com\/image.php\/shop\/data\/upload\/media\/2067c64a2a8358d9520a1798650b78f2\/10004\/1\/image\/20190423\/1556005296532066.png!64x60.png", "shop_banner": "http:\/\/shop.com\/image.php\/shop\/data\/upload\/media\/00f844d3e1adc84fc09d03ca6ec48be0\/10004\/1\/image\/20190321\/1553155171473564.jpg!1200x150.jpg", "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": "2", "shop_template": "default", "shop_workingtime": "", "shop_slide": "http:\/\/shop.com\/image.php\/shop\/data\/upload\/media\/00f844d3e1adc84fc09d03ca6ec48be0\/10004\/1\/image\/20190321\/1553155028150423.png,http:\/\/www.jh.st.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/00f844d3e1adc84fc09d03ca6ec48be0\/10004\/1\/image\/20190321\/1553155033840422.png,http:\/\/www.jh.st.yuanfeng021.com\/image.php\/shop\/data\/upload\/media\/00f844d3e1adc84fc09d03ca6ec48be0\/10004\/1\/image\/20190321\/1553155038977387.png,,", "shop_slideurl": "http:\/\/,http:\/\/,http:\/\/,http:\/\/,http:\/\/", "shop_domain": "", "shop_region": "", "shop_address": "", "shop_qq": "1247441699", "shop_ww": "", "shop_tel": "18667902579", "area_code": "86", "shop_free_shipping": "0", "shop_account": "", "shop_payment": "0", "joinin_year": "0", "is_renovation": "1", "is_only_renovation": "0", "is_index_left": "0", "shop_print_desc": null, "shop_stamp": null, "shop_parent_id": "0", "shop_type": "1", "district_id": "2146", "shop_verify_reason": "", "shop_common_service": "&lt;p&gt;&lt;span style=&quot;color: rgb(31, 73, 125);&quot;&gt;&lt;strong&gt;服务:&lt;\/strong&gt;&lt;\/span&gt;&lt;\/p&gt;&lt;p&gt;1.所有产品均经过BSC系统的全面测试&lt;\/p&gt;&lt;p&gt;2.各品牌:爱立信,诺基亚,中兴,华为,阿尔卡特,艾默生,台达,Finsiar,烽火通信,Comba等&lt;\/p&gt;&lt;p&gt;3.各种产品:2\/3 \/ 4G BTS", "id": "1", "shop_status_cha": "开店成功", "shop_all_class_cha": "是", "shop_payment_cha": "未付款", "is_collect": 0 }] } } <<< error ``` ``` #### 自营店铺详情 ``` <pre class="calibre15">``` get:/url *string:id=默认值#说明文字 name#说明文字 <<< success <<< error ``` ```