# 账号相关接口API
注意事项
- 所有API接口的域名前缀:http://gateway--cnki--net--https.cnki.mdjsf.utuvpn.utuedu.com:9000/openx/
- 所有接口未显性指明申请
JWT
的方式,统一为用户名+密码
的方式- 所有接口统一认证方式:Header请求头中添加
Authorization
字段,值为"Bearer "
+JWT
# 根据用户名查看当前用户是否存在
接口地址 /aamsapi/api/account/loginname/exist
请求方式 GET
接口描述 根据用户名查看当前用户是否存在
请求参数
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
loginName | 客户端id | query | true | String |
响应状态
状态码 | 说明 | schema |
---|---|---|
200 | OK | |
400300 | 权限不足,拒绝访问! | |
400301 | 账号失效! | |
400500 | 系统异常! | |
417007 | 用户名不能为空! |
响应参数
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | 响应编码 | integer | |
success | 请求是否成功 | boolean | |
content | 响应数据 | Integer | |
message | 提示消息 | string | |
count | 数据条数 | Integer | |
total | 数据总条数 | Integer |
响应示例
{
"success": true,
"message": "155****9252",
"content": true,
"count": 0,
"total": 0,
"code": 200
}
# 获取我的学术成果列表
接口地址 /aamsapi/api/author/scholar-literatures
请求方式 GET
接口描述 获取我的学术成果列表
请求参数
参数名称 | 参数说明 | 请求类型 | 是否必须 | 数据类型 | schema |
---|---|---|---|---|---|
accesstoken | 用户登录的lid | query | true | String | |
page | 分页页码 | query | true | integer | |
size | 分页条数 | query | true | integer | |
keyWord | 关键字 | query | true | string |
响应状态
状态码 | 说明 | schema |
---|---|---|
200 | OK | |
400300 | 权限不足,拒绝访问! | |
400301 | 账号失效! | |
400500 | 系统异常! | |
417007 | 用户名不能为空! |
响应参数
参数名称 | 参数说明 | 类型 | schema |
---|---|---|---|
code | 响应编码 | integer | |
success | 请求是否成功 | boolean | |
content | 响应数据 | Integer | |
message | 提示消息 | string | |
count | 数据条数 | Integer | |
total | 数据总条数 | Integer |
响应示例
{
"success": true,
"message": "",
"content": {
"Message": null,
"Paging": {
"Page": 1,
"Size": 10,
"Total": 0
},
"Literatures": []
},
"count": 0,
"total": 0,
"code": 200
}