|
@@ -90,7 +90,7 @@ public class DocumentAuthServiceImpl implements DocumentAuthService {
|
|
|
//手机验证码,30分钟有效
|
|
|
redisService.set(mobile + ":mobileCode", mobileCode, 30 * 60L);
|
|
|
String content = "采美资料库访问授权验证码:" + mobileCode + ",30分钟内有效";
|
|
|
- if (!StringUtils.isEmpty(code) && code.equals(imgCode)) {
|
|
|
+ if (!StringUtils.isEmpty(code) && code.equalsIgnoreCase(imgCode)) {
|
|
|
log.info("采美资料库访问授权验证码>>>>>" + mobileCode);
|
|
|
boolean sms = SMSUtils.sendSms(mobile, content);
|
|
|
if (sms) {
|