通知中心接口完善
This commit is contained in:
parent
17d209c002
commit
89f57add06
|
|
@ -63,7 +63,7 @@ public class SyncNoticeController {
|
|||
* 消息统计
|
||||
* @return 消息记录数
|
||||
*/
|
||||
@PutMapping("/count")
|
||||
@GetMapping("/count")
|
||||
public CzgResult<Long> count(@RequestParam(required = false) Integer isRead) {
|
||||
QueryWrapper queryWrapper = new QueryWrapper().eq(SyncNotice::getShopId, StpKit.USER.getShopId());
|
||||
queryWrapper.eq(SyncNotice::getIsRead, isRead);
|
||||
|
|
|
|||
Loading…
Reference in New Issue