|
@@ -448,7 +448,7 @@ public class UserController extends BaseController {
|
|
|
}
|
|
|
|
|
|
QRLoginDto dto = (QRLoginDto) data;
|
|
|
- if (!sysUser.getUserType().contains((dto).getClientId().replace("qr_", "").toUpperCase(Locale.ROOT))) {
|
|
|
+ if (!sysUser.getUserType().contains((dto).getClientId().replace("QR_", "").toUpperCase(Locale.ROOT))) {
|
|
|
throw new BizException("登录失败");
|
|
|
}
|
|
|
redisCache.put(code,data,5*60);
|
|
@@ -479,7 +479,7 @@ public class UserController extends BaseController {
|
|
|
QRLoginDto dto = (QRLoginDto) data;
|
|
|
|
|
|
|
|
|
- if (!sysUser.getUserType().contains((dto).getClientId().replace("qr_", "").toUpperCase(Locale.ROOT))) {
|
|
|
+ if (!sysUser.getUserType().contains((dto).getClientId().replace("QR_", "").toUpperCase(Locale.ROOT))) {
|
|
|
throw new BizException("登录失败");
|
|
|
}
|
|
|
|