简要描述:
请求域名:
- https://dev8.yunzmall.com/business/1/
请求URL:
GET/plugin/project-manager/project/show
参数:
参数名 |
是否必须 |
类型 |
说明 |
id |
是 |
int |
项目id |
返回示例:
正确时返回:
{
"result": 1,
"msg": "",
"data": {
"project": {
"id": 7,
"uniacid": 1,
"business_id": 6,
"cover": "https://dev4.yunzmall.com/attachment/images/9/2022/04/4c5d5e9970d045d1f86cb3186b5b5b18.jpg",
"name": "最新测试",
"creator_uid": 89,
"permit_visible": 1,
"is_share": 1,
"classify_id": 1,
"is_archive": 0,
"archive_time": null,
"created_at": "2022-05-05 16:49:33",
"updated_at": "2022-05-05 16:49:33",
"deleted_at": null,
"cover_str": "https://dev4.yunzmall.com/attachment/images/9/2022/04/4c5d5e9970d045d1f86cb3186b5b5b18.jpg",
"classify": {
"id": 1,
"name": "测试分类"
},
"participants_staff": [
{
"id": 67,
"uid": 164783,
"name": "孙新建",
"avatar": "http://wework.qpic.cn/bizmail/r4f9blWlVJOpCPlAticV65autpiaZW6bLc74uEj20uqzYN6PRP3qgOwQ/0",
"mobile": "15000245941",
"userid": null,
"avatar_mediaid": "http://wework.qpic.cn/bizmail/r4f9blWlVJOpCPlAticV65autpiaZW6bLc74uEj20uqzYN6PRP3qgOwQ/0",
"pivot": {
"project_id": 7,
"user_id": 67
}
},
{
"id": 66,
"uid": 164880,
"name": "3089",
"avatar": "",
"mobile": "13827653089",
"userid": null,
"avatar_mediaid": "",
"pivot": {
"project_id": 7,
"user_id": 66
}
}
]
}
}
}
错误时返回:
{
"result": 0,
"msg": "编辑失败",
"data": []
}
project返回参数说明:
参数名 |
类型 |
说明 |
id |
int |
id |
name |
string |
名称 |
cover |
string |
封面图片。绝对地址cover_src |
creator_uid |
int |
创建人id |
permit_visible |
int |
可见范围:0公有1私有 |
is_share |
int |
是否共享:0否1是 |
classify_id |
int |
项目分类ID |
is_archive |
int |
是否归档:0否1是 |
archive_time |
string |
归档时间 |
classify |
array |
项目分类信息 |
participants_staff |
array |
项目成员信息 |
participants_staff返回参数说明:
参数名 |
类型 |
说明 |
name |
string |
名称 |
avatar |
string |
头像 |
user_id |
int |
成员id |
classify返回参数说明:
参数名 |
类型 |
说明 |
id |
int |
分类ID |
name |
string |
分类名称 |
备注: