简要描述:

  • 项目分类列表

请求域名:

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

请求URL:

GET/plugin/project-manager/projectClassify/index

参数:

参数名 是否必须 类型 说明
name string 分类名称

返回示例:

正确时返回:

{
	"result": 1,
	"msg": "",
	"data": {
		"list": {
			"current_page": 1,
			"data": [
				{
					"id": 1,
					"uniacid": 1,
					"business_id": 6,
					"is_open": 1,
					"created_at": "2022-04-26 15:00:24",
					"updated_at": "2022-04-26 15:00:24",
					"name": "测试分类",
					"project_count": 2
				}
			],
			"first_page_url": "https://dev8.yunzmall.com/business/1/plugin/project-manager/projectClassify?page=1",
			"from": 1,
			"last_page": 1,
			"last_page_url": "https://dev8.yunzmall.com/business/1/plugin/project-manager/projectClassify?page=1",
			"next_page_url": null,
			"path": "https://dev8.yunzmall.com/business/1/plugin/project-manager/projectClassify",
			"per_page": 20,
			"prev_page_url": null,
			"to": 1,
			"total": 1
		}
	}
}

错误时返回:

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

list返回参数说明:分类列表(有分页)

参数名 类型 说明
id int id
name string 名称
project_count int 项目数量
is_open int 是否开启:0否1是

备注:

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