- industry-category-item-resource
- industry-resource
- company-resource
- company-industry-resource
- company-category-resource
- category-item-resource
- category-resource
- user-resource
- account-resource
- authenticate-controller
- public-user-resource
- survey-attribute-resource
- survey-resource
- survey-main-resource
- survey-data-resource
- rule-resource
- rule-survey-resource
- quota-item-resource
- quota-resource
- data-result-resource
- data-config-resource
- import-detail-contrller
- user-jwt-controller
- export-detail-contrller
- report-resource
- test-data-api
/api/category-items
GET
/api/category-items
category-item-resource
请求参数
Query 参数
page
integer
第几页
pageSize
integer
每页条数
orderBy
string
可选
id
string
可选
categoryId
string
可选
parentId
string
可选
name
string
可选
code
string
可选
parentCode
string
可选
industryCode
string
可选
isRequire
string
可选
isStar
string
可选
keyword
string
可选
require
string
可选
star
string
可选
Header 参数
Authorization
string
可选
默认值:
Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImV4cCI6MTY5NDg1NjAyN30.ucimYoIO3BLwsXzgFdT9D2F08goUkTojjvK8NZ41Tu7hMHw7eNaX_jv2pWQY0pQcgGhRSpsxceGthP-n4R5w1w
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:8851/api/category-items' \
--header 'Authorization: Bearer eyJhbGciOiJIUzUxMiJ9.eyJzdWIiOiJhZG1pbiIsImF1dGgiOiJST0xFX0FETUlOLFJPTEVfVVNFUiIsImV4cCI6MTY5NDg1NjAyN30.ucimYoIO3BLwsXzgFdT9D2F08goUkTojjvK8NZ41Tu7hMHw7eNaX_jv2pWQY0pQcgGhRSpsxceGthP-n4R5w1w'
返回响应
🟢200OK
application/json
Body
array of:
id
string <uuid>
主键
name
string
分类名称
categoryId
string <uuid>
分类表主键
parentId
string <uuid>
父级ID
fullPath
string
全路径
level
integer <int32>
层级
code
string
分类code
parentCode
string
分类父级code
industryCode
string
可选
isRequire
boolean
是否必填项
isStar
boolean
是否标星项
description
string
描述
categoryInfo
object (CategoryDTO)
分类表
id
string <uuid>
主键
name
string
分类名称
fullPath
string
全路径
sort
integer <int32>
排序
companyCnt
integer <int64>
企业数量
itemCnt
integer <int64>
子分类数量
shouldAddCompanyList
array[object (CompanyDTO) {15}]
子分类
buildIn
boolean
可选
companyCnt
integer <int64>
子分类下企业数量
示例
[
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0",
"parentId": "70850378-7d3c-4f45-91b7-942d4dfbbd43",
"fullPath": "string",
"level": 0,
"code": "string",
"parentCode": "string",
"industryCode": "string",
"isRequire": true,
"isStar": true,
"description": "string",
"categoryInfo": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"fullPath": "string",
"sort": 0,
"companyCnt": 0,
"itemCnt": 0,
"shouldAddCompanyList": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"creditCode": "string",
"industryCode": "string",
"mainBusiness": "string",
"organizationCode": "string",
"isFitInto": true,
"fitIntoTime": "2019-08-24T14:15:22Z",
"isFocus": true,
"isFourUp": true,
"companyStatus": "MoveOut",
"categoryItemInfos": [
{}
],
"companyExInfo": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"isTttt": true,
"sort": 0,
"staffNumRange": "string",
"fromTime": "2019-08-24T14:15:22Z",
"type": 0,
"bondName": "string",
"isMicroEnt": 0,
"usedBondName": "string",
"regNumber": "string",
"percentileScore": 0,
"regCapital": "string",
"name": "string",
"regInstitute": "string",
"regLocation": "string",
"industry": "string",
"approvedTime": "2019-08-24T14:15:22Z",
"socialStaffNum": 0,
"tags": "string",
"taxNumber": "string",
"businessScope": "string",
"property3": "string",
"alias": "string",
"orgNumber": "string",
"email": "string",
"regStatus": "string",
"estiblishTime": "2019-08-24T14:15:22Z",
"updateTimes": "2019-08-24T14:15:22Z",
"bondType": "string",
"legalPersonName": "string",
"toTime": "2019-08-24T14:15:22Z",
"actualCapital": "string",
"companyOrgType": "string",
"compForm": 0,
"base": "string",
"creditCode": "string",
"historyNames": "string",
"bondNum": "string",
"regCapitalCurrency": "string",
"actualCapitalCurrency": "string",
"revokeDate": "2019-08-24T14:15:22Z",
"revokeReason": "string",
"cancelDate": "2019-08-24T14:15:22Z",
"cancelReason": "string",
"city": "string",
"district": "string",
"industryAll": "string",
"legalPersonPhone": "string",
"phoneNumber": "string",
"websiteList": "string",
"staffList": "string",
"compId": 0,
"companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
"year": 0,
"month": 0,
"tttt": true
},
"companyCategoryList": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"companyId": "8bb73d03-06b4-47c7-80c7-59301f770eda",
"categoryId": "337f5e5d-288b-40d5-be14-901cc3acacc0",
"categoryItemId": "9dc235b8-97fe-4787-a18a-815fdf4bdcf7",
"fullPath": "string",
"companyInfo": {},
"categoryInfo": {},
"categoryItemInfo": {}
}
],
"categoryItemList": [
{}
]
}
],
"buildIn": true
},
"companyCnt": 0
}
]