简要描述:

  • 获取所有能看的当前企业项目

请求域名:

  • https://dev8.yunzmall.com/business/1/

请求URL:

GET/plugin/project-manager/index/allProject

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "",
	"data": {
		"list": [
				{
					"id": 2,
					"uniacid": 1,
					"business_id": 6,
					"cover": "https://dev4.yunzmall.com/attachment/images/9/2022/04/4c5d5e9970d045d1f86cb3186b5b5b18.jpg",
					"name": "测试",
					"creator_uid": 89,
					"permit_visible": 0,
					"is_share": 1,
					"classify_id": 1,
					"is_archive": 0,
					"archive_time": null,
					"created_at": "2022-04-26 16:14:22",
					"updated_at": "2022-04-26 16:14:22",
					"deleted_at": null,
					"cover_str": "https://dev4.yunzmall.com/attachment/images/9/2022/04/4c5d5e9970d045d1f86cb3186b5b5b18.jpg",
				},
				{
					"id": 1,
					"uniacid": 1,
					"business_id": 6,
					"cover": "https://dev4.yunzmall.com/attachment/images/9/2022/04/4c5d5e9970d045d1f86cb3186b5b5b18.jpg",
					"name": "测试",
					"creator_uid": 89,
					"permit_visible": 0,
					"is_share": 1,
					"classify_id": 1,
					"is_archive": 0,
					"archive_time": null,
					"created_at": "2022-04-26 16:08:12",
					"updated_at": "2022-04-26 16:08:12",
					"deleted_at": null,
					"cover_str": "https://dev4.yunzmall.com/attachment/images/9/2022/04/4c5d5e9970d045d1f86cb3186b5b5b18.jpg",
				}
		],
}

错误时返回:

{
  "result": 0,
  "msg": "",
  "data": []
}

list返回参数说明

参数名 类型 说明
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 归档时间

备注:

  • 更多返回错误代码请看首页的错误代码描述