|
@@ -160,6 +160,9 @@ public class ZmCrawlerRequestComponent {
|
|
|
map.expire(Duration.ofMinutes(CacheConstant.ZHONGMEI_AUTHORIZATION_TIME));
|
|
map.expire(Duration.ofMinutes(CacheConstant.ZHONGMEI_AUTHORIZATION_TIME));
|
|
|
return authorizationMap.get(AUTHORIZATION);
|
|
return authorizationMap.get(AUTHORIZATION);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (authenticateResponse.getHead().getReturnCode().equals("-1") && authenticateResponse.getHead().getReturnMessage().contains("登录失败,用户名或者密码错误")) {
|
|
|
|
|
+ throw new SystemException(authenticateResponse.getHead().getReturnMessage());
|
|
|
|
|
+ }
|
|
|
loginsNumber = loginsNumber - 1;
|
|
loginsNumber = loginsNumber - 1;
|
|
|
if (loginsNumber <= 0) {
|
|
if (loginsNumber <= 0) {
|
|
|
throw new SystemException(authenticateResponse.getHead().getReturnMessage());
|
|
throw new SystemException(authenticateResponse.getHead().getReturnMessage());
|