## 示例 接口名称:新增消息 接口地址:域名/index.php?m=api&c=Message&a=addMassage&uid=30&posts_id=3&puid=31 请求方式:GET 数据类型:JSON 响应类型:JSON 请求参数: | 参数名称 | 是否必须 | 类型 | 默认值 | 描述 | | --- | --- | --- | --- | --- | | uid | 是 | int | | 通知人id | | puid | 是 | int | | 被通知人id | | posts_id | 是 | int | | 通知帖子id | 成功响应示列: ~~~ { "code": 1001, "message": "响应成功", "data": "116" } ~~~ 失败响应示列: ~~~ { "code": 2001, "message": "响应失败", "data": { "posts_id": "通知帖子id参数错误" } } -------------------------------------------------- { "code": 2001, "message": "响应失败", "data": { "puid": "被通知人参数错误" } } -------------------------------------------------- { "code": 2001, "message": "响应失败", "data": { "uid": "通知人参数错误" } } -------------------------------------------------- { "code": 2001, "message": "通知人错误", "data": [] } -------------------------------------------------- { "code": 2001, "message": "被通知人参数错误", "data": [] } -------------------------------------------------- { "code": 2001, "message": "通知帖子错误", "data": [] } ~~~