浏览代码

版本推送

Duan_xu 2 年之前
父节点
当前提交
63d7460216
共有 1 个文件被更改,包括 1 次插入11 次删除
  1. 1 11
      src/main/java/com/caimei365/user/service/impl/OperationServiceImpl.java

+ 1 - 11
src/main/java/com/caimei365/user/service/impl/OperationServiceImpl.java

@@ -154,17 +154,7 @@ public class OperationServiceImpl implements OperationService {
 //推送信息中心-账户通知
             SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
             String current = dateFormat.format(new Date());
-            MessageCenter messageCenter = new MessageCenter();
-            if (operation.getClubId() != null) {
-                messageCenter.setShopId(null);
-                messageCenter.setClubId(operation.getClubId());
-                messageCenter.setUserType(1);
-                messageCenter.setMessageType(2);
-                messageCenter.setAccountType(7);
-                messageCenter.setContent(operation.getNickName());
-                messageCenter.setTime(current);
-                messageCenterMapper.addMessageCenter(messageCenter);
-            }
+
             //发送短信
             String name = null;
             if (operation.getClubId() != null) {