简要描述:
- 企业列表
请求域名:
- http://xx.com
请求URL:
route=plugin.staff-code.frontend.index.businessList
参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|
返回示例:
正确时返回:
{
"result": 1,
"msg": "成功",
"data": {
"business_log": {
"id": 1,
"uniacid": 25,
"business_id": 4,
"uid": 164138,
"created_at": "2026-03-17 15:59:48",
"updated_at": "2026-03-17 15:59:48",
"deleted_at": null,
"has_one_business": {
"id": 4,
"uniacid": 25,
"uid": 0,
"name": "测试2",
"logo_img": "https:\/\/shop-yunzshop-com.oss-cn-hangzhou.aliyuncs.com\/images\/25\/2021\/09\/2a6a3576f55ff5d869637bdec82499b1.gif",
"status": 1,
"created_at": "2021-09-22 10:54:33",
"updated_at": "2026-01-27 10:35:50",
"deleted_at": null,
"member_uid": 163949,
"auth_plugins": "a:18:{i:0;s:7:"YunChat";i:1;s:10:"YunChatSub";i:2;s:14:"LawyerPlatform";i:3;s:16:"GroupDevelopUser";i:4;s:15:"WechatCustomers";i:5;s:11:"GroupReward";i:6;s:7:"ShopPos";i:7;s:14:"CustomerManage";i:8;s:21:"OpportunityManagement";i:9;s:8:"AiCreate";i:10;s:12:"CrmDashboard";i:11;s:17:"WechatChatSidebar";i:12;s:11:"WorkSession";i:13;s:13:"WorkWechatTag";i:14;s:13:"CustomerRadar";i:15;s:14:"ProjectManager";i:16;s:8:"StorePos";i:17;s:16:"GoodsStockManage";}",
"store_id": 0,
"store_lock": 0
}
},
"business_list": [{
"id": 4,
"name": "测试2"
},
{
"id": 2,
"name": "dsz01公司"
},
{
"id": 11,
"name": "芸信"
},
{
"id": 14,
"name": "企业233"
},
{
"id": 18,
"name": "芸众3"
},
{
"id": 29,
"name": "欢迎语"
},
{
"id": 16,
"name": "test-企业2"
},
{
"id": 1,
"name": "企业测试2"
},
{
"id": 38,
"name": "测试默认权限企业"
},
{
"id": 87,
"name": "甄律所"
},
{
"id": 90,
"name": "反恐精英部"
}
]
}
}
错误时返回:
{
}
返回参数说明:
| 参数名 | 类型 | 说明 |
|---|---|---|
| 名称 | 类型 | 说明 |
| data.business_log.business_id | int | 当前企业ID,可能为0 |
| data.business_log.has_one_business | object | 当前企业信息,可能为空 |
| data.business_list | arr | 当前会员关联企业列表 |