|
|
@ -133,7 +133,7 @@ public class JinZhuJiaYouService { |
|
|
|
if (repsObject == null |
|
|
|
if (repsObject == null |
|
|
|
|| !repsObject.getInteger("status").equals(200) |
|
|
|
|| !repsObject.getInteger("status").equals(200) |
|
|
|
|| !repsObject.getString("type").equals("OK")) { |
|
|
|
|| !repsObject.getString("type").equals("OK")) { |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, repsObject == null?"请求失败":repsObject.getString("title")); |
|
|
|
throw ErrorHelp.genException(SysCode.System, ErrorCode.COMMON_ERROR, repsObject == null?"请求失败":repsObject.getString("detail")); |
|
|
|
} |
|
|
|
} |
|
|
|
return repsObject; |
|
|
|
return repsObject; |
|
|
|
} |
|
|
|
} |
|
|
|