如泽登录绩效关闭发送验证码
This commit is contained in:
parent
5397a996af
commit
52041c0ceb
@ -51,6 +51,7 @@ public class Constant {
|
||||
public static final String FEI_SHU_ROBOT_TOKEN = "lz_fei_shu_robot_token";
|
||||
|
||||
public static final String INVELOMENT_TYPE_TEST = "dev";
|
||||
public static final String INVELOMENT_TYPE_RZ = "rzprod";
|
||||
|
||||
public static final String SING = "【霖梓控股】";
|
||||
public static final Integer STATUS_3 = 3;
|
||||
|
||||
@ -156,7 +156,8 @@ public class SysLoginController extends AbstractController {
|
||||
smsParams.put("code", verifyCode);
|
||||
String result = "successful";
|
||||
//测试环境不发短信
|
||||
if (StringUtil.equals(environment, Constant.INVELOMENT_TYPE_TEST)) {
|
||||
if (StringUtil.equals(environment, Constant.INVELOMENT_TYPE_TEST)
|
||||
|| StringUtil.equals(environment, Constant.INVELOMENT_TYPE_RZ) ) {
|
||||
verifyCode = "888888";
|
||||
codeRecordService.addCodeRecord(verifyCode, user, result);
|
||||
return R.ok();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user