...
|
...
|
@@ -38,7 +38,7 @@ http://192.168.102.205:8080/gateway?method=app.inbox.getlistnew&uid=8040080..... |
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应参数,data部分
|
|
|
响应成功JSON格式如下所示:
|
|
|
响应成功JSON格式如下所示(注意BODY部分不同类型消息有不同类型的字段,以下BODY以生日券消息场景为例):
|
|
|
```json
|
|
|
{ "alg" :"SALT_MD5",
|
|
|
"code" :200,
|
...
|
...
|
@@ -109,39 +109,50 @@ http://192.168.102.205:8080/gateway?method=app.inbox.getAllInboxCatInfo&uid=5088 |
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应参数,data部分
|
|
|
响应成功JSON格式如下所示:
|
|
|
响应成功JSON格式如下所示(注意BODY部分不同类型消息有不同类型的字段,以下BODY以生日券消息场景为例):
|
|
|
```json
|
|
|
{
|
|
|
"code":"200",
|
|
|
"data":[{
|
|
|
"createTime":"1970-01-18 11:55:19",
|
|
|
"id":1,
|
|
|
"inboxCatName":"会员信息",
|
|
|
"unReadCount":3,
|
|
|
"content":"预览最新未读消息测试"
|
|
|
},
|
|
|
{
|
|
|
"createTime":"1970-01-18 11:55:19",
|
|
|
"id":2,
|
|
|
"inboxCatName":"我的资产",
|
|
|
"unReadCount":3,
|
|
|
"content":"预览最新未读消息测试"
|
|
|
},
|
|
|
{
|
|
|
"createTime":"1970-01-18 11:55:19",
|
|
|
"id":3,
|
|
|
"inboxCatName":"客户服务",
|
|
|
"unReadCount":3,
|
|
|
"content":"预览最新未读消息测试"
|
|
|
},
|
|
|
{
|
|
|
"createTime":"1970-01-18 11:55:19",
|
|
|
"id":4,
|
|
|
"inboxCatName":"其他",
|
|
|
"unReadCount":3,
|
|
|
"content":"预览最新未读消息测试"
|
|
|
}],
|
|
|
"message":"success"
|
|
|
{ "code" :"200",
|
|
|
"message" :"success",
|
|
|
"data" :
|
|
|
[{
|
|
|
"createTime" :"",
|
|
|
"id" :1,
|
|
|
"businessType" :"",
|
|
|
"title" :"",
|
|
|
"body" :{ },
|
|
|
"inboxCatName" :"会员信息",
|
|
|
"unReadCount" :0 },
|
|
|
{
|
|
|
"createTime" :"2016-05-28 00:28:08",
|
|
|
"id" :2,
|
|
|
"title" : "您有1张优惠券可领取",
|
|
|
"body" :{
|
|
|
"collar_time" :"2016.04.21-2016.05.31",
|
|
|
"use_time" :"2016.05.01-2016.05.31",
|
|
|
"year" :"2016",
|
|
|
"inbox_name" :"生日券",
|
|
|
"name" :"2016年05月生日券",
|
|
|
"is_over_time" :"Y" },
|
|
|
"businessType" :"",
|
|
|
"inboxCatName" :"我的资产",
|
|
|
"unReadCount" :1 },
|
|
|
{
|
|
|
"createTime" :"",
|
|
|
"id" :3,
|
|
|
"businessType" :"",
|
|
|
"title" :"",
|
|
|
"body" :{ },
|
|
|
"inboxCatName" :"客户服务",
|
|
|
"unReadCount" :0 },
|
|
|
{
|
|
|
"createTime" :"",
|
|
|
"id" :4,
|
|
|
"businessType" :"",
|
|
|
"title" :"",
|
|
|
"body" :{ },
|
|
|
"inboxCatName" :"其他",
|
|
|
"unReadCount" :0
|
|
|
}]
|
|
|
}
|
|
|
```
|
|
|
响应失败JSON格式如下所示:
|
...
|
...
|
|