Get Business List
Method
getBusinessList() -> {Promise.<any>}
Get business list (without pagination, query all business lists)
Parameters
None
Return Value Promise.<any>
res.data:
Fields | Type | Description |
---|---|---|
groups |
Array | Data Business Group List |
lists |
Array | Business List (businessInfo objects are as follows) |
businessInfo:
Fields | Type | Description |
---|---|---|
id |
String | Business id |
name |
String | Business name |
type |
Integer | BusinessType 1- restaurant 2- hotel 3- disinfection and sterilization 4- office building 5- factory |
address |
String | Business address |
customerId |
String | Business customerId |
buildingId |
String | buildingId |
createTime |
Integer | createTime |
Request Example
JavaScript | |
---|---|