|
@@ -1110,6 +1110,9 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
log.info("学时信息推送参数"+ dataTxt);
|
|
|
try {
|
|
|
respone = HttpUtils.postFormBody(OFFICIALPUSH_PERIODPATH, params);
|
|
|
+ if (Validator.isEmpty(respone)) {
|
|
|
+ return "响应信息空";
|
|
|
+ }
|
|
|
log.info("学时信息推送参数结果"+ respone);
|
|
|
String[] split = respone.split("\\|");
|
|
|
if (split.length < 2) {
|
|
@@ -1225,6 +1228,9 @@ public class ClassGradeUserServiceImpl extends ServiceImpl<ClassGradeUserMapper,
|
|
|
log.info("学时信息推送参数"+ dataTxt);
|
|
|
try {
|
|
|
respone = HttpUtils.postFormBody(OFFICIALPUSH_SEVEN_PERIODPATH, params);
|
|
|
+ if (Validator.isEmpty(respone)) {
|
|
|
+ return "响应信息空";
|
|
|
+ }
|
|
|
log.info("学时信息推送参数结果"+ respone);
|
|
|
String[] split = respone.split("\\|");
|
|
|
if (split.length < 2) {
|