|
@@ -25,6 +25,7 @@ import jodd.util.StringUtil;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.util.*;
|
|
@@ -336,9 +337,11 @@ public class UserIncrementServiceImpl extends ServiceImpl<IUserIncrementMapper,
|
|
|
this.sendMsg(userIdsSE,"SE");
|
|
|
}
|
|
|
|
|
|
+ @Value("${sms.template.increment-to-be-expire}")
|
|
|
+ private String cnCode;
|
|
|
+ @Value("${sms.template.increment-expire}")
|
|
|
+ private String expireCode;
|
|
|
private void sendMsg(Map<Long, Integer> userIds,String msgType) throws Exception {
|
|
|
- String cnCode = "SMS_216275556";
|
|
|
- String expireCode = "SMS_216425565";
|
|
|
for (Long userId : userIds.keySet()) {
|
|
|
User userEntity = userService.getById(userId);
|
|
|
if(userEntity != null){
|