Commit e9d7f966 by guojuxing

联合商户新建验证码4位改为6位

parent d4ea4bdd
......@@ -117,7 +117,7 @@ public class UnionEnterpriseAuthController {
AuthCodeDTO authCodeDTO = new AuthCodeDTO();
authCodeDTO.setEnterpriseId(UserDetailUtils.getUserDetail().getEnterpriseId());
//生成4位数字验证码
String authCode = CreateRandomUtils.getStringRandom(4);
String authCode = CreateRandomUtils.getStringRandom(6);
authCodeDTO.setAuthCode(authCode);
authCodeDTO.setExpirationTime(AuthCodeExpireTimeUtils.setAuthCodeExpireTime(5));
ServiceResponse<Integer> result = authCodeApiService.saveAuth(authCodeDTO);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment