- 登录
- 公司查询接口
- 模板
- 基础数据
- 任务
- 过往合作
- 其他
- 上市公司
- 模板管理
- 基础数据
- 样本及标签
- 标签
- 企业样本筛选查询接口POST
- 校验自定义指标接口POST
- 人社线
获取分享模板
开发中
POST
/li-enterprise-template/getSharedTemplateInfo
/li-enterprise-template/getSharedTemplateInfo
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
shareId
string
必需
示例值:
144
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://localhost:9999/api1/li-enterprise-template/getSharedTemplateInfo?shareId=144'
返回响应
🟢200成功
application/json
Body
code
string
必需
msg
string
必需
data
array [object {10}]
必需
id
integer
必需
userId
string
必需
templateType
string
必需
templateName
string
必需
templateInfo
string
必需
createTime
null
必需
createPerson
null
必需
updateTime
null
必需
updatePerson
null
必需
templateUse
string
必需
示例
{
"code": "200",
"msg": "成功!",
"data": [
{
"id": 4,
"userId": "sj",
"templateType": "1",
"templateName": "模板",
"templateInfo": "{\"dataYear\":\"2020\",\"categoryStockMarket\":[\"1\",\"2\"],\"stockCode\":\"999999\",\"stockAbbreviation\":\"99\",\"chineseNameTheCompany\":\"上海\",\"listingSegment\":[\"1\",\"2\"],\"listingStatus\":[\"1\",\"2\"],\"concept\":[\"1\",\"2\"],\"province\":[\"1\",\"2\"],\"city\":[\"1\",\"2\"],\"companyNatureFlush\":[\"1\",\"2\"],\"industryNewCSRC\":[\"1\",\"2\"],\"shenwanIndustry\":[\"1\",\"2\"],\"chinaSecuritiesIndustry\":[\"1\",\"2\"],\"nationalEconomicIndustry\":[\"1\",\"2\"],\"tagId\":[\"1\",\"2\"],\"indexConditionList\":[{\"indexName\":\"专科生人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_junior_college_students\",\"indexType\":\"1\",\"year\":\"2020\",\"start\":\"1000\",\"end\":\"3000\"},{\"indexName\":\"高中人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_high_school_students\",\"indexType\":\"2\",\"year\":\"2020\",\"rankType\":\"2\",\"limit\":\"10\"},{\"indexName\":\"其他学历人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_people_other_qualifications\",\"indexType\":\"4\",\"year\":\"2020\",\"rankType\":\"2\",\"limit\":\"10\"},{\"indexName\":\"研究生人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_postgraduates\",\"indexType\":\"3\",\"year\":\"2020\",\"compareType\":\"1\",\"compareIndexName\":\"研究生人数\",\"compareTableName\":\"li_enterprise_main_info\",\"compareField\":\"number_postgraduates\",\"compareYear\":\"2021\"}]}\n",
"createTime": null,
"createPerson": null,
"updateTime": null,
"updatePerson": null,
"templateUse": "1"
},
{
"id": 5,
"userId": "sj",
"templateType": "1",
"templateName": "模板",
"templateInfo": "{\"dataYear\":\"2020\",\"categoryStockMarket\":[\"1\",\"2\"],\"stockCode\":\"999999\",\"stockAbbreviation\":\"99\",\"chineseNameTheCompany\":\"上海\",\"listingSegment\":[\"1\",\"2\"],\"listingStatus\":[\"1\",\"2\"],\"concept\":[\"1\",\"2\"],\"province\":[\"1\",\"2\"],\"city\":[\"1\",\"2\"],\"companyNatureFlush\":[\"1\",\"2\"],\"industryNewCSRC\":[\"1\",\"2\"],\"shenwanIndustry\":[\"1\",\"2\"],\"chinaSecuritiesIndustry\":[\"1\",\"2\"],\"nationalEconomicIndustry\":[\"1\",\"2\"],\"tagId\":[\"1\",\"2\"],\"indexConditionList\":[{\"indexName\":\"专科生人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_junior_college_students\",\"indexType\":\"1\",\"year\":\"2020\",\"start\":\"1000\",\"end\":\"3000\"},{\"indexName\":\"高中人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_high_school_students\",\"indexType\":\"2\",\"year\":\"2020\",\"rankType\":\"2\",\"limit\":\"10\"},{\"indexName\":\"其他学历人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_people_other_qualifications\",\"indexType\":\"4\",\"year\":\"2020\",\"rankType\":\"2\",\"limit\":\"10\"},{\"indexName\":\"研究生人数\",\"tableName\":\"li_enterprise_main_info\",\"fieldName\":\"number_postgraduates\",\"indexType\":\"3\",\"year\":\"2020\",\"compareType\":\"1\",\"compareIndexName\":\"研究生人数\",\"compareTableName\":\"li_enterprise_main_info\",\"compareField\":\"number_postgraduates\",\"compareYear\":\"2021\"}]}\n",
"createTime": null,
"createPerson": null,
"updateTime": null,
"updatePerson": null,
"templateUse": "1"
}
]
}
🟢200成功
修改于 2023-01-11 02:18:36