This commit is contained in:
liqiang-fit2cloud 2022-12-23 10:11:07 +08:00
commit a27af7135f
1 changed files with 5 additions and 3 deletions

View File

@ -67,9 +67,11 @@ public class SwaggerUrlImportJob extends MsScheduleJob {
if (CollectionUtils.isNotEmpty(arguments)) {
request.setArguments(arguments);
}
MsAuthManager msAuthManager = JSONUtil.parseObject(configObj.optString("authManager"), MsAuthManager.class);
if (msAuthManager != null) {
request.setAuthManager(msAuthManager);
if (StringUtils.isNotBlank(configObj.optString("authManager"))) {
MsAuthManager msAuthManager = JSONUtil.parseObject(configObj.optString("authManager"), MsAuthManager.class);
if (msAuthManager != null) {
request.setAuthManager(msAuthManager);
}
}
}
}