|
@@ -18,6 +18,7 @@ import com.ym.mec.collectfee.entity.ResponseCourseEntity;
|
|
|
import com.ym.mec.collectfee.entity.School;
|
|
|
import com.ym.mec.collectfee.service.SchoolService;
|
|
|
import com.ym.mec.collectfee.utils.Constants;
|
|
|
+import com.ym.mec.collectfee.utils.ShortUrlUtil;
|
|
|
import com.ym.mec.collectfee.utils.yqpay.DateUtils;
|
|
|
|
|
|
@Service
|
|
@@ -80,7 +81,9 @@ public class SchoolServiceImpl extends BaseServiceImpl<Integer, School> implemen
|
|
|
//获取所有用户手机号列表
|
|
|
List<String> userPhone = applyInfoDao.findUserByClass(classId,null);
|
|
|
String[] objects=userPhone.toArray(new String[userPhone.size()]);
|
|
|
- SmsExample.setBatchOnlySms(appId,secretKey,host,algorithm,String.format(Constants.SMS_TEMPLATE, DateUtils.getDayForAfter(new Date(), 2)),null,objects,isGizp,encode);
|
|
|
+ SmsExample.setBatchOnlySms(appId,secretKey,host,algorithm,
|
|
|
+ String.format(Constants.SMS_TEMPLATE, DateUtils.getDayForAfter(new Date(), 2), ShortUrlUtil.sinaShortUrl("http://pay.dayaedu.com/?schoolId=2&classId=10381&cityId=1302")),
|
|
|
+ null,objects,isGizp,encode);
|
|
|
}
|
|
|
}
|
|
|
|