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