文档分区列表

1 功能说明

获取所有文档分区信息

2 接口调用说明

2.1 URL
http://yourdomain.kf5.com/api/v1/forum/category_list
2.2 格式

JSON

2.3 HTTP请求方式

GET, POST

2.4 IP限制

2.5 输入参数说明
参数名称是否必须类型描述
2.6 请求示例
http://yourdomain.kf5.com/api/v1/forum/category_list?sign=12d45c66523dd069d7c64c22fea10f34
2.7 返回参数说明
参数名称说明
err返回码。0:执行成功,1:有错误
msg如果错误,返回错误信息。
datas返回数据
id分区编号
title分区标题
content分区描述
2.8 正确返回示例
Content-type: text/html; charset=utf-8
{
	"err":0,
	"msg":""
	"datas":{
		"0" : {
			"id" : "85"
			"title" : "帮助支持"
			"content" : "客服帮助支持区"
		}
		...
	}
}
2.9 错误返回示例
Content-type: text/html; charset=utf-8
{
	"err":1,
	"msg":"签名验证失败"
}

3 备注