|
@@ -60,17 +60,17 @@ public class SwjtuController {
|
|
throw new StatusException("001001", "rootOrgId is not configured");
|
|
throw new StatusException("001001", "rootOrgId is not configured");
|
|
}
|
|
}
|
|
if (StringUtils.isBlank(loginnameConf)) {
|
|
if (StringUtils.isBlank(loginnameConf)) {
|
|
- throw new StatusException("001001", "loginname is not configured");
|
|
|
|
|
|
+ throw new StatusException("001002", "loginname is not configured");
|
|
}
|
|
}
|
|
if (StringUtils.isBlank(passwordConf)) {
|
|
if (StringUtils.isBlank(passwordConf)) {
|
|
- throw new StatusException("001002", "password is not configured");
|
|
|
|
|
|
+ throw new StatusException("001003", "password is not configured");
|
|
}
|
|
}
|
|
|
|
|
|
Long rootOrgId = null;
|
|
Long rootOrgId = null;
|
|
try {
|
|
try {
|
|
rootOrgId = StringUtil.toLong(rootOrgIdString);
|
|
rootOrgId = StringUtil.toLong(rootOrgIdString);
|
|
} catch (Exception e1) {
|
|
} catch (Exception e1) {
|
|
- throw new StatusException("001001", "rootOrgId is not Long value");
|
|
|
|
|
|
+ throw new StatusException("001004", "rootOrgId is not Long value");
|
|
}
|
|
}
|
|
|
|
|
|
if (null == examId) {
|
|
if (null == examId) {
|
|
@@ -78,7 +78,7 @@ public class SwjtuController {
|
|
"THIRD_PARTY_API_DEFAULT_EXAM_ID");
|
|
"THIRD_PARTY_API_DEFAULT_EXAM_ID");
|
|
String value = orgPropertyCacheBean.getValue();
|
|
String value = orgPropertyCacheBean.getValue();
|
|
if (StringUtils.isBlank(value)) {
|
|
if (StringUtils.isBlank(value)) {
|
|
- throw new StatusException("001002", "password is not configured");
|
|
|
|
|
|
+ throw new StatusException("001005", "examId is not configured");
|
|
}
|
|
}
|
|
examId = StringUtil.toLong(value);
|
|
examId = StringUtil.toLong(value);
|
|
}
|
|
}
|