获取额外存储列表
POST
/myauth/web/getStorageList请求参数
Header 参数
token
string
必需
登录成功后返回的token
示例值:
a9c2d5d97ddb454ab944aa60383c183e
Body 参数application/json
fromSoftId
integer
所属软件id
fromStorageTypeId
integer
所属存储类型ID
content
string
内容
模糊查询
number
integer
次数
模糊查询
status
integer
回复状态
0=停用,1=正常
remark
string
备注
模糊查询
pageIndex
integer
页码
pageSize
integer
每页数据行数
orders
array [object {2}]
排序
column
string
字段名
必须严格遵守系统返回的字段名,即原样的驼峰命名法
asc
boolean
是否正序排序
示例
{
"fromSoftId": 1,
"pageIndex": 1,
"pageSize": 5
}
示例代码
返回响应
成功(200)
错误(500)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
object
必需
records
array [object {9}]
必需
total
integer
必需
size
integer
必需
current
integer
必需
orders
array[string]
必需
optimizeCountSql
boolean
必需
searchCount
boolean
必需
countId
null
必需
maxLimit
null
必需
pages
integer
必需
timestamp
integer
必需
示例成功示例
{
"code": 200,
"success": true,
"msg": "获取成功",
"sign": "",
"result": {
"records": [
{
"id": 1,
"fromSoftId": 1,
"fromStorageTypeId": 1,
"content": "你你好",
"number": 1,
"status": 1,
"remark": null,
"fromSoftName": "MyQQ",
"fromStorageTypeName": "阿萨德"
},
{
"id": 2,
"fromSoftId": 1,
"fromStorageTypeId": 1,
"content": "地方地方",
"number": 1,
"status": 1,
"remark": null,
"fromSoftName": "MyQQ",
"fromStorageTypeName": "阿萨德"
},
{
"id": 3,
"fromSoftId": 1,
"fromStorageTypeId": 2,
"content": "dfg啊",
"number": 1,
"status": 1,
"remark": null,
"fromSoftName": "MyQQ",
"fromStorageTypeName": "测试"
},
{
"id": 4,
"fromSoftId": 1,
"fromStorageTypeId": 2,
"content": "请问啊",
"number": 3,
"status": 1,
"remark": null,
"fromSoftName": "MyQQ",
"fromStorageTypeName": "测试"
}
],
"total": 4,
"size": 5,
"current": 1,
"orders": [],
"optimizeCountSql": true,
"searchCount": true,
"countId": null,
"maxLimit": null,
"pages": 1
},
"timestamp": 1649312371043
}
最后修改时间: 3 年前