|
@@ -18,7 +18,9 @@ import com.ym.mec.common.service.IdGeneratorService;
|
|
|
import com.ym.mec.common.service.impl.BaseServiceImpl;
|
|
|
import com.ym.mec.thirdparty.adapay.Payment;
|
|
|
import com.ym.mec.thirdparty.message.MessageSenderPluginContext;
|
|
|
+import com.ym.mec.util.collection.MapUtil;
|
|
|
import com.ym.mec.util.date.DateUtil;
|
|
|
+import com.ym.mec.util.http.HttpUtil;
|
|
|
import org.apache.commons.collections.CollectionUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.joda.time.LocalDate;
|
|
@@ -643,6 +645,17 @@ public class MemberRankSettingServiceImpl extends BaseServiceImpl<Integer, Membe
|
|
|
// sysCouponCodeService.exchangeCoupon(userId,giveCouponId,
|
|
|
// studentPaymentOrder.getId(),giveCouponNum,2,null);
|
|
|
// }
|
|
|
+ Map<Integer, String> phoneMaps = MapUtil.convertMybatisMap(teacherDao.queryPhoneByIds(userId.toString()));
|
|
|
+ String baseApiUrl = sysConfigDao.findConfigValue(SysConfigService.BASE_API_URL);
|
|
|
+ StringBuffer pushUrl = new StringBuffer(baseApiUrl).append("/#/artistRegistration");
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.AWSMS, MessageTypeEnum.STUDENT_SMS_CLOUD_PAYMENT,phoneMaps,
|
|
|
+ null,0,"",null, HttpUtil.getSortUrl(pushUrl.toString()));
|
|
|
+
|
|
|
+ StringBuffer notifyUrl = new StringBuffer("8?").append(baseApiUrl).append("/#/artistRegistration");
|
|
|
+ Map<Integer, String> userIdMaps = new HashMap<>(1);
|
|
|
+ userIdMaps.put(userId, userId.toString());
|
|
|
+ sysMessageService.batchSendMessage(MessageSenderPluginContext.MessageSender.JIGUANG, MessageTypeEnum.GOOD_HABITS_TRAINING_CAMP_EXPERIENCE_QUALIFICATION_PUSH,userIdMaps,
|
|
|
+ null,0,notifyUrl.toString(),"STUDENT");
|
|
|
}else {
|
|
|
//齐齐哈尔购买成功默认激活
|
|
|
// 活动时间:
|