Browse Source

版本推送

Duan_xu 2 years ago
parent
commit
63d7460216

+ 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) {