| | |
| | | String API_PREFIX = "/client"; |
| | | String SAVE_MESSAGE_RECORD = API_PREFIX + "/saveMessageRecord"; |
| | | String GET_NOT_READ_NUMBER = API_PREFIX + "/getNotReadNumber"; |
| | | String GET_NOT_READ_LIST = API_PREFIX + "/getNotReadList"; |
| | | |
| | | String GET_NO_ALERT_RES_LIST = API_PREFIX + "/getNoAlertResList"; |
| | | |
| | | /** |
| | | * 保存站内信记录信息 |
| | |
| | | */ |
| | | @GetMapping(GET_NOT_READ_NUMBER) |
| | | Integer getNotReadNumber(@RequestParam("phone") String phone); |
| | | |
| | | /** |
| | | * 查询用户未读消息列表 |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | @GetMapping(GET_NOT_READ_LIST) |
| | | List<MessageRecord> getNotReadList(@RequestParam("userId")String userId); |
| | | |
| | | @GetMapping(GET_NO_ALERT_RES_LIST) |
| | | String getNoAlertRes(@RequestParam("ruleName") String ruleName); |
| | | } |