Showing
1 changed file
with
36 additions
and
23 deletions
| @@ -236,29 +236,42 @@ | @@ -236,29 +236,42 @@ | ||
| 236 | 236 | ||
| 237 | ```json | 237 | ```json |
| 238 | [ | 238 | [ |
| 239 | -{ | 239 | + { |
| 240 | -"id": "4028804749b2270e0149b22dddd60000", | 240 | + "id": "4028804749b2270e0149b22dddd60000", |
| 241 | -"source": { | 241 | + "source": { |
| 242 | -"id": 3145, | 242 | + "id": 3145, |
| 243 | -"username": "123@q.com", | 243 | + "username": "123@q.com", |
| 244 | -"realName": "Ji", | 244 | + "realName": "Ji", |
| 245 | -"figureUrl": null, | 245 | + "figureUrl": null, |
| 246 | -"type": "STUDENT" | 246 | + "type": "STUDENT" |
| 247 | -}, | 247 | + }, |
| 248 | -"target": { | 248 | + "target": { |
| 249 | -"id": 3144, | 249 | + "id": 3144, |
| 250 | -"username": "19911218@qq.com", | 250 | + "username": "19911218@qq.com", |
| 251 | -"realName": null, | 251 | + "realName": null, |
| 252 | -"figureUrl": null, | 252 | + "figureUrl": null, |
| 253 | -"type": "STUDENT" | 253 | + "type": "STUDENT" |
| 254 | -}, | 254 | + }, |
| 255 | -"type": "USER_RELATIONSHIP_APPLY或USER_RELATIONSHIP_DENY或USER_RELATIONSHIP_PASS或VERIFY_PASS或VERIFY_DENY", | 255 | + "type": "USER_RELATIONSHIP_APPLY或USER_RELATIONSHIP_DENY或USER_RELATIONSHIP_PASS或VERIFY_PASS或VERIFY_DENY", |
| 256 | -"body":通过 | 256 | + "body": "通过", |
| 257 | -"readed": false, | 257 | + "readed": false, |
| 258 | -"createAt": "2014-11-15T06:39:51.000+0000", | 258 | + "createAt": "2014-11-15T06:39:51.000+0000", |
| 259 | -"updateAt": "2014-11-15T06:39:51.000+0000", | 259 | + "updateAt": "2014-11-15T06:39:51.000+0000", |
| 260 | -"version": 0 | 260 | + "version": 0 |
| 261 | -} | 261 | + } |
| 262 | ] | 262 | ] |
| 263 | ``` | 263 | ``` |
| 264 | +-------------------------- | ||
| 265 | + | ||
| 266 | +####通知消费接口 | ||
| 267 | + | ||
| 268 | +接口地址:/notification/consume | ||
| 269 | + | ||
| 270 | +请求方式:POST | ||
| 271 | + | ||
| 272 | +参数:id (id为数组) | ||
| 273 | + | ||
| 274 | +返回值: | ||
| 264 | 275 | ||
| 276 | +success ok | ||
| 277 | +error 用户不存在或指定的消息ID参数不存在 |
-
Please register or login to post a comment