文档
测试

个人提醒列表

GET
/api/story_messages

请求参数

参数名
类型
描述
必填
user_id
当前用户id / 0
必填
page
页数
必填
size
每页大小
必填

说明 / 示例

# 响应结果 ```json { "status": 200, "data": { "count": 20, "rows": [ { "_id": 26, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-28T02:35:49.000Z", "updatedAt": "2021-05-28T02:35:49.000Z", "deletedAt": null }, { "_id": 25, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-28T02:35:31.000Z", "updatedAt": "2021-05-28T02:35:31.000Z", "deletedAt": null }, { "_id": 24, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-27T10:50:52.000Z", "updatedAt": "2021-05-27T10:50:52.000Z", "deletedAt": null }, { "_id": 22, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": "Tom", "msg_entity_id": 3, "msg_type": 2, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-27T07:03:44.000Z", "updatedAt": "2021-05-27T07:03:44.000Z", "deletedAt": null }, { "_id": 23, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": "Tom", "msg_entity_id": 3, "msg_type": 4, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-27T07:03:44.000Z", "updatedAt": "2021-05-27T07:03:44.000Z", "deletedAt": null }, { "_id": 20, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": true, "createdAt": "2021-05-27T06:12:48.000Z", "updatedAt": "2021-05-27T06:32:02.000Z", "deletedAt": null }, { "_id": 19, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-27T06:10:14.000Z", "updatedAt": "2021-05-27T06:10:14.000Z", "deletedAt": null }, { "_id": 18, "story_poster_id": 1, "story_poster_name": "a boy", "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-27T06:09:33.000Z", "updatedAt": "2021-05-27T06:09:33.000Z", "deletedAt": null }, { "_id": 17, "story_poster_id": 1, "story_poster_name": null, "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-27T06:08:10.000Z", "updatedAt": "2021-05-27T06:08:10.000Z", "deletedAt": null }, { "_id": 16, "story_poster_id": 1, "story_poster_name": null, "story_id": 5, "story_title": "hi there", "msg_user_id": 1, "msg_user_name": null, "msg_entity_id": 5, "msg_type": 9, "msg_target_user_id": 1, "msg_viewed": false, "createdAt": "2021-05-27T06:06:13.000Z", "updatedAt": "2021-05-27T06:06:13.000Z", "deletedAt": null } ] } } ```

类型枚举

```json /** * 提醒类型 * 1-发布故事 * 2-收到评论 * 3-收到祈祷 * 4-评论其他故事 * 5-祷告其他故事 * 6-他人故事收到评论 * 7-他人故事收到祷告 * 8-Your story has been picked as Community's Choice. * 9-评论收到祈祷 */ ``` # 新增响应字段 ![image.png](https://cos.easydoc.net/10613522/files/kp7qj2hb.png)