|
|
@ -128,12 +128,8 @@ public class RequestRecordServiceImpl extends MpBaseServiceImpl<RequestRecordDao |
|
|
|
log.info("获取到的枚举类型:{}", JSONObject.toJSONString(RequestRecordEnums)); |
|
|
|
log.info("获取到的枚举类型:{}", JSONObject.toJSONString(RequestRecordEnums)); |
|
|
|
for (RequestRecordEnum recordenum : RequestRecordEnums) { |
|
|
|
for (RequestRecordEnum recordenum : RequestRecordEnums) { |
|
|
|
if (recordenum.getMethodName().equals(dbRecord.getActiveCall())) { |
|
|
|
if (recordenum.getMethodName().equals(dbRecord.getActiveCall())) { |
|
|
|
log.info("通过反射获取到的snPushCheckRecordService是否为空:{}", JSONObject.toJSONString(snPushCheckRecordService == null)); |
|
|
|
|
|
|
|
Method method = ReflectUtil.getMethodByName(snPushCheckRecordService.getClass(), recordenum.getMethodName()); |
|
|
|
Method method = ReflectUtil.getMethodByName(snPushCheckRecordService.getClass(), recordenum.getMethodName()); |
|
|
|
log.info("通过反射获取到的方法是否为空:{}", JSONObject.toJSONString(method == null)); |
|
|
|
log.info("通过反射获取到的方法名:{}", JSONObject.toJSONString(method.getName())); |
|
|
|
if (method != null) { |
|
|
|
|
|
|
|
log.info("通过反射获取到的方法名:{}", JSONObject.toJSONString(method.getName())); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Object invokeResponse = null; |
|
|
|
Object invokeResponse = null; |
|
|
|
R data = new R(1000, "default success"); |
|
|
|
R data = new R(1000, "default success"); |
|
|
@ -148,7 +144,6 @@ public class RequestRecordServiceImpl extends MpBaseServiceImpl<RequestRecordDao |
|
|
|
log.info("重调后得到的结果:{}", JSONObject.toJSONString(invokeResponse)); |
|
|
|
log.info("重调后得到的结果:{}", JSONObject.toJSONString(invokeResponse)); |
|
|
|
|
|
|
|
|
|
|
|
JSONObject rspJson = JSONObject.parseObject(invokeResponse.toString(), JSONObject.class); |
|
|
|
JSONObject rspJson = JSONObject.parseObject(invokeResponse.toString(), JSONObject.class); |
|
|
|
log.info("重调后返回信息:{}", rspJson); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
data.put("data", invokeResponse); |
|
|
|
data.put("data", invokeResponse); |
|
|
|
|
|
|
|
|
|
|
|