Просмотр исходного кода

订单变更、项目任务转交短信提醒

anderx лет назад: 7
Родитель
Сommit
163788bd80

+ 11 - 0
src/main/java/com/goafanti/admin/bo/InputAdmin.java

@@ -26,6 +26,17 @@ public class InputAdmin {
 	@Size(min = 0, max = 36, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
 	private String	superiorId;
 
+	@Size(min = 0, max = 11, message = "{" + ErrorConstants.PARAM_SIZE_ERROR + "}")
+	private String	contactMobile;
+
+	public String getContactMobile() {
+		return contactMobile;
+	}
+
+	public void setContactMobile(String contactMobile) {
+		this.contactMobile = contactMobile;
+	}
+
 	public String getId() {
 		return id;
 	}

+ 0 - 1
src/main/java/com/goafanti/admin/controller/AdminApiController.java

@@ -349,7 +349,6 @@ public class AdminApiController extends CertifyApiController {
 	@RequestMapping(value = "/updateAdminInfo", method = RequestMethod.POST)
 	public Result updateAdminInfo(@Valid InputAdmin admin, String pwd, BindingResult bindingResult) {
 		Result res = new Result();
-
 		if (TokenManager.hasRole(AFTConstants.SUPERADMIN)) {
 			res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "超级管理员"));
 			return res;

+ 5 - 0
src/main/java/com/goafanti/common/controller/PublicController.java

@@ -5,6 +5,7 @@ import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.io.OutputStream;
+import java.util.Map;
 import java.util.UUID;
 
 import javax.annotation.Resource;
@@ -58,6 +59,9 @@ public class PublicController extends BaseController {
 
 	@Value(value = "${mobileCodeTemplate}")
 	private String					mobileCodeTemplate	= null;
+	
+	@Value(value = "${mobileRemindCodeTemplate}")
+	private String					mobileRemindCodeTemplate	= null;
 
 	@Resource
 	private UserService				userService;
@@ -516,4 +520,5 @@ public class PublicController extends BaseController {
 		return res;
 	}
 	
+	
 }

+ 60 - 0
src/main/java/com/goafanti/common/enums/OrderFlowState.java

@@ -0,0 +1,60 @@
+package com.goafanti.common.enums;
+
+import java.util.HashMap;
+import java.util.Map;
+
+import org.apache.commons.lang3.StringUtils;
+
+public enum OrderFlowState {
+	DDBG(0, "订单变更"), 
+	RWPD(1, "任务分派"),
+	QT(1, "其他"),
+	;
+
+	private OrderFlowState(Integer code, String desc) {
+		this.code = code;
+		this.desc = desc;
+	}
+
+	private static Map<Integer, OrderFlowState> status = new HashMap<Integer, OrderFlowState>();
+
+	static {
+		for (OrderFlowState value : OrderFlowState.values()) {
+			status.put(value.getCode(), value);
+		}
+	}
+
+	public static boolean isPayed(OrderFlowState os) {
+		return os == RWPD || os == QT;
+	}
+
+	public static OrderFlowState getStatus(Integer code) {
+		if (containsType(code)) {
+			return status.get(code);
+		}
+		return QT;
+	}
+
+	public static OrderFlowState getStatus(String code) {
+		if (StringUtils.isNumeric(code)) {
+			return getStatus(Integer.parseInt(code));
+		}
+		return QT;
+	}
+
+	public static boolean containsType(Integer code) {
+		return status.containsKey(code);
+	}
+
+	private Integer	code;
+	private String	desc;
+
+	public Integer getCode() {
+		return code;
+	}
+
+	public String getDesc() {
+		return desc;
+	}
+
+}

+ 7 - 216
src/main/java/com/goafanti/common/mapper/AdminMapper.xml

@@ -164,7 +164,7 @@
       number, province, position, 
       superior_id, city, department_id, 
       status, user_no, duty, 
-      district, head_portrait_url, contact_mobile
+      district, head_portrait_url,contact_mobile
       )
     values (#{id,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
       #{password,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
@@ -463,218 +463,8 @@
     </set>
     where id = #{id,jdbcType=VARCHAR}
   </update>
-  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.Admin">
-    <!--
-      WARNING - @mbg.generated
-      This element is automatically generated by MyBatis Generator, do not modify.
-      This element was generated on Wed Jun 13 10:27:07 CST 2018.
-    -->
-    update admin
-    set mobile = #{mobile,jdbcType=VARCHAR},
-      name = #{name,jdbcType=VARCHAR},
-      password = #{password,jdbcType=VARCHAR},
-      email = #{email,jdbcType=VARCHAR},
-      create_time = #{createTime,jdbcType=TIMESTAMP},
-      number = #{number,jdbcType=INTEGER},
-      province = #{province,jdbcType=VARCHAR},
-      position = #{position,jdbcType=VARCHAR},
-      superior_id = #{superiorId,jdbcType=VARCHAR},
-      city = #{city,jdbcType=VARCHAR},
-      department_id = #{departmentId,jdbcType=VARCHAR},
-      status = #{status,jdbcType=VARCHAR},
-      user_no = #{userNo,jdbcType=VARCHAR},
-      duty = #{duty,jdbcType=VARCHAR},
-      district = #{district,jdbcType=VARCHAR},
-      head_portrait_url = #{headPortraitUrl,jdbcType=VARCHAR},
-      contact_mobile = #{contactMobile,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=VARCHAR}
-  </update>
-  <resultMap id="BaseResultMap" type="com.goafanti.common.model.Admin">
-    <id column="id" jdbcType="VARCHAR" property="id" />
-    <result column="mobile" jdbcType="VARCHAR" property="mobile" />
-    <result column="name" jdbcType="VARCHAR" property="name" />
-    <result column="password" jdbcType="VARCHAR" property="password" />
-    <result column="email" jdbcType="VARCHAR" property="email" />
-    <result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
-    <result column="number" jdbcType="INTEGER" property="number" />
-    <result column="province" jdbcType="INTEGER" property="province" />
-    <result column="position" jdbcType="VARCHAR" property="position" />
-    <result column="superior_id" jdbcType="VARCHAR" property="superiorId" />
-    <result column="city" jdbcType="INTEGER" property="city" />
-    <result column="department_id" jdbcType="VARCHAR" property="departmentId" />
-  </resultMap>
-  <sql id="Base_Column_List">
-    id, mobile, name, password, email, create_time, number, province, position, superior_id,
-    city,department_id
-  </sql>
-  <select id="selectByPrimaryKey" parameterType="java.lang.String" resultMap="BaseResultMap">
-    select 
-    <include refid="Base_Column_List" />
-    from admin
-    where id = #{id,jdbcType=VARCHAR}
-  </select>
-  <delete id="deleteByPrimaryKey" parameterType="java.lang.String">
-    delete from admin
-    where id = #{id,jdbcType=VARCHAR}
-  </delete>
-  <insert id="insert" parameterType="com.goafanti.common.model.Admin">
-    insert into admin (id, mobile, name, 
-      password, email, create_time, 
-      number, province, position, superior_id, city,department_id)
-    values (#{id,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
-      #{password,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
-      #{number,jdbcType=INTEGER}, #{province,jdbcType=INTEGER}, #{position,jdbcType=VARCHAR},
-      #{superiorId,jdbcType=VARCHAR}, #{city,jdbcType=INTEGER},#{departmentId,jdbcType=VARCHAR}
-      )
-  </insert>
-  <insert id="insertSelective" parameterType="com.goafanti.common.model.Admin">
-    insert into admin
-    <trim prefix="(" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        id,
-      </if>
-      <if test="mobile != null">
-        mobile,
-      </if>
-      <if test="name != null">
-        name,
-      </if>
-      <if test="password != null">
-        password,
-      </if>
-      <if test="email != null">
-        email,
-      </if>
-      <if test="createTime != null">
-        create_time,
-      </if>
-      <if test="number != null">
-        number,
-      </if>
-       <if test="province != null">
-        province,
-      </if>
-      <if test="position != null">
-        position,
-      </if>
-      <if test="superiorId != null">
-        superior_id,
-      </if>
-      <if test="city != null">
-        city,
-      </if>
-      <if test="departmentId != null">
-      	department_id,
-      </if>
-    </trim>
-    <trim prefix="values (" suffix=")" suffixOverrides=",">
-      <if test="id != null">
-        #{id,jdbcType=VARCHAR},
-      </if>
-      <if test="mobile != null">
-        #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="name != null">
-        #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="password != null">
-        #{password,jdbcType=VARCHAR},
-      </if>
-      <if test="email != null">
-        #{email,jdbcType=VARCHAR},
-      </if>
-      <if test="createTime != null">
-        #{createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="number != null">
-        #{number,jdbcType=INTEGER},
-      </if>
-      <if test="province != null">
-        #{province,jdbcType=INTEGER},
-      </if>
-      <if test="position != null">
-        #{position,jdbcType=VARCHAR},
-      </if>
-      <if test="superiorId != null">
-        #{superiorId,jdbcType=VARCHAR},
-      </if>
-      <if test="city != null">
-        #{city,jdbcType=INTEGER},
-      </if>
-     <if test="departmentId != null">
-     	#{departmentId,jdbcType=VARCHAR},
-     </if>
-    </trim>
-  </insert>
-  <update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.Admin">
-    update admin
-    <set>
-      <if test="mobile != null">
-        mobile = #{mobile,jdbcType=VARCHAR},
-      </if>
-      <if test="name != null">
-        name = #{name,jdbcType=VARCHAR},
-      </if>
-      <if test="password != null">
-        password = #{password,jdbcType=VARCHAR},
-      </if>
-      <if test="email != null">
-        email = #{email,jdbcType=VARCHAR},
-      </if>
-      <if test="createTime != null">
-        create_time = #{createTime,jdbcType=TIMESTAMP},
-      </if>
-      <if test="number != null">
-        number = #{number,jdbcType=INTEGER},
-      </if>
-       <if test="province != null">
-        province = #{province,jdbcType=INTEGER},
-      </if>
-      <if test="position != null">
-        position = #{position,jdbcType=VARCHAR},
-      </if>
-      <if test="superiorId != null">
-        superior_id = #{superiorId,jdbcType=VARCHAR},
-      </if>
-       <if test="city != null">
-        city = #{city,jdbcType=INTEGER},
-      </if>
-      <if test="departmentId != null">
-     	department_id = #{departmentId,jdbcType=VARCHAR},
-      </if>
-      <if test="status != null">
-     	status = #{status,jdbcType=VARCHAR},
-      </if>
-      <if test="userNo != null">
-     	user_no = #{userNo,jdbcType=VARCHAR},
-      </if>
-      <if test="duty != null">
-     	duty = #{duty,jdbcType=VARCHAR},
-      </if>
-      <if test="district != null">
-     	district = #{district,jdbcType=VARCHAR},
-      </if>
-      <if test="headPortraitUrl != null">
-     	head_portrait_url = #{headPortraitUrl,jdbcType=VARCHAR},
-      </if>
-    </set>
-    where id = #{id,jdbcType=VARCHAR}
-  </update>
-  <update id="updateByPrimaryKey" parameterType="com.goafanti.common.model.Admin">
-    update admin
-    set mobile = #{mobile,jdbcType=VARCHAR},
-      name = #{name,jdbcType=VARCHAR},
-      password = #{password,jdbcType=VARCHAR},
-      email = #{email,jdbcType=VARCHAR},
-      create_time = #{createTime,jdbcType=TIMESTAMP},
-      number = #{number,jdbcType=INTEGER},
-      province = #{province,jdbcType=INTEGER},
-      position = #{position,jdbcType=VARCHAR},
-      superior_id = #{superiorId,jdbcType=VARCHAR},
-      city = #{city,jdbcType=INTEGER},
-      department_id = #{departmentId,jdbcType=VARCHAR}
-    where id = #{id,jdbcType=VARCHAR}
-  </update>
+ 
+
   
   <select id="selectAllAdmin" resultMap="BaseResultMap">
     select 
@@ -962,12 +752,12 @@
   <insert id="insertn" parameterType="com.goafanti.common.model.Admin">
     insert into admin (id, mobile, name, 
       password, email, create_time, 
-      number, province, position, superior_id, city,department_id,status,user_no,duty,district,head_portrait_url)
+      number, province, position, superior_id, city,department_id,status,user_no,duty,district,head_portrait_url,contact_mobile)
     values (#{id,jdbcType=VARCHAR}, #{mobile,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, 
       #{password,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 
       #{number,jdbcType=INTEGER}, #{province,jdbcType=INTEGER}, #{position,jdbcType=VARCHAR},
       #{superiorId,jdbcType=VARCHAR}, #{city,jdbcType=INTEGER},#{departmentId,jdbcType=VARCHAR},
-      #{status,jdbcType=VARCHAR},#{userNo,jdbcType=VARCHAR},#{duty,jdbcType=VARCHAR},#{district,jdbcType=VARCHAR},#{headPortraitUrl,jdbcType=VARCHAR}
+      #{status,jdbcType=VARCHAR},#{userNo,jdbcType=VARCHAR},#{duty,jdbcType=VARCHAR},#{district,jdbcType=VARCHAR},#{headPortraitUrl,jdbcType=VARCHAR},#{contactMobile,jdbcType=VARCHAR}
       )
   </insert>
   <select id="selectUserNoBySuperiorId" parameterType="java.lang.String" resultType="java.lang.String">
@@ -997,7 +787,8 @@
       password, email, create_time as createTime, 
       province, position, 
       superior_id as superiorId,department_id as departmentId,
-      status,user_no as userNo,duty,district,head_portrait_url as headPortraitUrl
+      status,user_no as userNo,duty,district,head_portrait_url as headPortraitUrl,
+      contact_mobile as contactMobile
     from admin 
     where 
     id=#{id,jdbcType=VARCHAR}

Разница между файлами не показана из-за своего большого размера
+ 1543 - 0
src/main/java/com/goafanti/common/model/AdminExample.java


+ 4 - 1
src/main/java/com/goafanti/common/utils/MobileMessageUtils.java

@@ -1,5 +1,4 @@
 package com.goafanti.common.utils;
-
 import com.aliyuncs.DefaultAcsClient;
 import com.aliyuncs.IAcsClient;
 import com.aliyuncs.dysmsapi.model.v20170525.SendSmsRequest;
@@ -9,6 +8,8 @@ import com.aliyuncs.http.MethodType;
 import com.aliyuncs.profile.DefaultProfile;
 import com.aliyuncs.profile.IClientProfile;
 
+
+
 public class MobileMessageUtils {
 
 	private final static String SIGN_NAME = "技淘网";
@@ -47,5 +48,7 @@ public class MobileMessageUtils {
 		}
 		return null;
 	}
+	
+
 
 }

+ 35 - 4
src/main/java/com/goafanti/order/service/impl/OrderServiceImpl.java

@@ -10,16 +10,20 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.UUID;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
 
 import javax.annotation.Resource;
 
 import org.apache.commons.beanutils.BeanUtils;
 import org.apache.commons.lang3.StringUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Service;
 import org.springframework.transaction.annotation.Transactional;
 
 import com.goafanti.common.bo.Error;
+import com.goafanti.common.bo.Result;
 import com.goafanti.common.constant.AFTConstants;
 import com.goafanti.common.constant.ErrorConstants;
 import com.goafanti.common.dao.AdminMapper;
@@ -39,6 +43,7 @@ import com.goafanti.common.dao.UserMapper;
 import com.goafanti.common.enums.DeleteStatus;
 import com.goafanti.common.enums.NoticeReadStatus;
 import com.goafanti.common.enums.NoticeStatus;
+import com.goafanti.common.enums.OrderFlowState;
 import com.goafanti.common.enums.UserLockReleaseStatus;
 import com.goafanti.common.error.BusinessException;
 import com.goafanti.common.model.Admin;
@@ -56,6 +61,8 @@ import com.goafanti.common.model.User;
 import com.goafanti.common.model.UserLockRelease;
 import com.goafanti.common.utils.BeanUtilsExt;
 import com.goafanti.common.utils.DateUtils;
+import com.goafanti.common.utils.MobileMessageUtils;
+import com.goafanti.common.utils.VerifyCodeUtils;
 import com.goafanti.core.mybatis.BaseMybatisDao;
 import com.goafanti.core.mybatis.JDBCIdGenerator;
 import com.goafanti.core.mybatis.page.Pagination;
@@ -121,6 +128,16 @@ public class OrderServiceImpl extends BaseMybatisDao<TOrderMapper> implements Or
 	private BusinessProjectMapper businessProjectMapper;
 	@Resource
 	private UserLockReleaseMapper userLockReleaseMapper;
+	
+	@Value(value = "${mobileRemindCodeTemplate}")
+	private String					mobileRemindCodeTemplate	= null;
+	
+	@Value(value = "${accessKey}")
+	private String					accessKey			= null;
+
+	@Value(value = "${accessSecret}")
+	private String					accessSecret		= null;
+	
 	private final BigDecimal DEFAULT_FIRST_PAYMENT = new BigDecimal(0);//默认首付价格
 	private final BigDecimal DEFAULT_COMMODITY_PRICE = new BigDecimal(0);//默认单价
 	private final String DEFAULT_PLATFORM_ID = "0"; //平台默认id
@@ -1926,16 +1943,30 @@ public class OrderServiceImpl extends BaseMybatisDao<TOrderMapper> implements Or
 				if(!targetIds.contains(s))
 			targetIds.add(s);
 			}
-			List<String> am=new ArrayList<>();
+			String regex = "^(1[1-9][0-9])\\d{8}$";
+			 Pattern p = Pattern.compile(regex);
+			 String mobile="";
 			for (String s : targetIds) {
 				Admin a=adminMapper.selectByPrimaryKey(s);
-				am.add(a.getMobile());
+				if (null!=a.getContactMobile()) {
+					Matcher m = p.matcher(a.getContactMobile());
+				if ( m.matches()) {
+					mobile+=a.getContactMobile()+",";
+					}
+				}
 			}
-			System.out.println(am.toString());
+			mobile=mobile.substring(0, mobile.length()-1);
+			//String message=noticeType.getDesc() + ": 订单编号-" + tOrder.getOrderNo() + ",变更内容:"+noticeComment+",操作人-" + TokenManager.getAdminToken().getName();
+			String paramString = "{\"number\":\"" + tOrder.getOrderNo() 
+			+ "\",\"operator\":\"" + TokenManager.getAdminToken().getName()
+			+ "\",\"type\":\"" +  OrderFlowState.DDBG.getDesc() +
+			"\"}";
+			MobileMessageUtils.sendMessage(mobileRemindCodeTemplate, paramString, mobile, accessKey, accessSecret);
+
 		}
-	
 	}
 
+
 	private void MobileNotice(List<String> targetIds, TOrder tOrder) {
 		
 		

+ 30 - 1
src/main/java/com/goafanti/techproject/service/impl/TechProjectServiceImpl.java

@@ -7,9 +7,12 @@ import java.util.HashMap;
 import java.util.List;
 import java.util.Map;
 import java.util.UUID;
+import java.util.regex.Matcher;
+import java.util.regex.Pattern;
 
 import org.apache.commons.lang3.time.DateUtils;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.beans.factory.annotation.Value;
 import org.springframework.stereotype.Service;
 
 import com.goafanti.common.bo.Error;
@@ -27,6 +30,7 @@ import com.goafanti.common.dao.UserMapper;
 import com.goafanti.common.enums.DeleteStatus;
 import com.goafanti.common.enums.NoticeReadStatus;
 import com.goafanti.common.enums.NoticeStatus;
+import com.goafanti.common.enums.OrderFlowState;
 import com.goafanti.common.enums.TechProjectStatus;
 import com.goafanti.common.error.BusinessException;
 import com.goafanti.common.model.Admin;
@@ -38,6 +42,7 @@ import com.goafanti.common.model.TechProject;
 import com.goafanti.common.model.TechProjectLog;
 import com.goafanti.common.model.TmpTable;
 import com.goafanti.common.model.User;
+import com.goafanti.common.utils.MobileMessageUtils;
 import com.goafanti.common.utils.StringUtils;
 import com.goafanti.core.mybatis.BaseMybatisDao;
 import com.goafanti.core.mybatis.page.Pagination;
@@ -78,6 +83,14 @@ public class TechProjectServiceImpl extends BaseMybatisDao<TechProjectMapper> im
 	private ContractTaskLogMapper	contractTaskLogMapper;
 	@Autowired
 	AdminMapper		adminMapper;
+	
+	@Value(value = "${accessKey}")
+	private String					accessKey			= null;
+
+	@Value(value = "${accessSecret}")
+	private String					accessSecret		= null;
+	@Value(value = "${mobileRemindCodeTemplate}")
+	private String					mobileRemindCodeTemplate	= null;
 	@SuppressWarnings("unchecked")
 	@Override
 	public Pagination<TechProjectClientListBo> listClientTechProject(String uid, Integer pageNo, Integer pageSize) {
@@ -419,7 +432,23 @@ public class TechProjectServiceImpl extends BaseMybatisDao<TechProjectMapper> im
 		c.setTaskAllocator(TokenManager.getAdminId());
 		c.setCreateTime(new Date());
 		contractTaskLogMapper.insert(c);*/
-		contractTaskMapper.updateByPrimaryKeySelective(task);
+		//contractTaskMapper.updateByPrimaryKeySelective(task);
+		ContractTask c=contractTaskMapper.selectByPrimaryKey(task.getId());
+		Admin a=adminMapper.selectByPrimaryKey(c.getTaskReceiver());
+		TaskDetailBo tb= contractTaskMapper.selectProjectTaskDetail(task.getId());
+		String regex = "^(1[1-9][0-9])\\d{8}$";
+		 Pattern p = Pattern.compile(regex);
+		if (null!=a.getContactMobile()) {
+			Matcher m = p.matcher(a.getContactMobile());
+			if ( m.matches()) {
+			String mobile=a.getContactMobile();
+			String paramString = "{\"number\":\"" + tb.getOrderNo() 
+			+ "\",\"operator\":\"" + TokenManager.getAdminToken().getName()
+			+ "\",\"type\":\"" +  OrderFlowState.RWPD.getDesc() +
+			"\"}";
+			MobileMessageUtils.sendMessage(mobileRemindCodeTemplate, paramString, mobile, accessKey, accessSecret);
+				}
+			}
 		return contractTaskMapper.updateByPrimaryKeySelective(task);
 	}
 

+ 1 - 0
src/main/resources/props/config_dev.properties

@@ -66,6 +66,7 @@ aesSecretKey=aft1234567890123
 template.cacheable=false
 
 mobileCodeTemplate=SMS_37845022
+mobileRemindCodeTemplate=SMS_137416381
 
 portal.host=//afts.hnzhiming.com/portal/2.0.0
 

+ 1 - 0
src/main/resources/props/config_local.properties

@@ -67,6 +67,7 @@ accessSecret=ICGuiUnqzaar7urw4zecVcJrJ1MHg9
 aesSecretKey=aft1234567890123
 
 mobileCodeTemplate=SMS_37845022
+mobileRemindCodeTemplate=SMS_137416381
 patentTemplate=SMS_72005286
 
 easemob.client.url=https://a1.easemob.com/1117170814115609/jitao

+ 1 - 0
src/main/resources/props/config_prod.properties

@@ -56,6 +56,7 @@ static.host=//s.jishutao.com/1.0.41
 template.cacheable=true
 
 mobileCodeTemplate=SMS_37845022
+mobileRemindCodeTemplate=SMS_137416381
 
 portal.host=//s.jishutao.com/portal/1.0.11
 

+ 1 - 0
src/main/resources/props/config_test.properties

@@ -68,6 +68,7 @@ aesSecretKey=aft1234567890123
 
 mobileCodeTemplate=SMS_37845022
 patentTemplate=SMS_72005286
+mobileRemindCodeTemplate=SMS_137416381
 
 easemob.client.url=https://a1.easemob.com/1117170814115609/jitao
 easemob.client.id=YXA6RUDGkIDSEeemq9_4PWzcNA