文档
测试

添加项目管理员

POST
http://localhost:8081/leader/insertLeader

请求参数

参数名
类型
描述
必填
projectId
int
示例:2 项目id 没打钩为非必传
必填
groupId
int
示例:1 分组id
可选
subtaskId
int
示例:1 子任务id
可选
userId
int
示例:1 用户id
必填
taskId
int
示例:1 任务id
可选

响应参数

参数名
类型
描述
必填
resultCode
string
示例:201 ( 情况1)
必填
resultMsg
string
示例:该管理员已存在
必填
resultData
object
示例:null
必填
resultCode
string
示例:200 ( 情况2)
必填
resultMsg
string
示例:成功
必填
resultData
object
示例:null
必填