|
|
@@ -41,7 +41,8 @@ public class IpAnalyzeServiceImpl implements IpAnalyzeServiceInterface {
|
|
|
return null;
|
|
|
}
|
|
|
JSONObject jsonObject = JSONUtil.parseObj(responseBody);
|
|
|
- if (jsonObject.getInt("ret") == 200) {
|
|
|
+ if ((jsonObject.getInt("ret") != null && jsonObject.getInt("ret") == 200)
|
|
|
+ || (jsonObject.getInt("code") != null && jsonObject.getInt("code") == 200)) {
|
|
|
return jsonObject.getJSONObject("data");
|
|
|
}
|
|
|
} catch (Exception e) {
|