岗位列表
GET
/system/post/list请求参数
Query 参数
postCode
string
岗位编码
示例值:
{% mock 'word' %}
postName
string
岗位名称
示例值:
{% mock 'ctitle' %}
status
string
可选
状态(0正常 1停用)
示例值:
{% mock 'pick' , [0,1] %}
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
msg
string
必需
total
integer
必需
rows
array [object {8}]
必需
postId
string
岗位ID
postCode
string
编码
postName
string
名称
postSort
integer
排序
status
string
状态
createBy
string
必需
createTime
string
必需
remark
string
备注
示例
{
"code": 200,
"msg": "成功",
"total": 4,
"rows": [
{
"postId": "1",
"postCode": "ceo",
"postName": "董事长",
"postSort": 1,
"status": "1",
"createBy": "maskAdmin",
"createTime": "1682264526344",
"remark": ""
},
{
"postId": "2",
"postCode": "se",
"postName": "项目经理",
"postSort": 2,
"status": "1",
"createBy": "maskAdmin",
"createTime": "1682264526348",
"remark": ""
},
{
"postId": "3",
"postCode": "hr",
"postName": "人力资源",
"postSort": 3,
"status": "1",
"createBy": "maskAdmin",
"createTime": "1682264526354",
"remark": ""
},
{
"postId": "4",
"postCode": "user",
"postName": "普通员工",
"postSort": 4,
"status": "1",
"createBy": "maskAdmin",
"createTime": "1682264526358",
"remark": ""
}
]
}
修改于 1 年前