通知中心接口完善
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user