|
@@ -3,8 +3,6 @@ package com.project.zcustom.tools;
|
|
|
|
|
|
import com.alibaba.fastjson2.JSONArray;
|
|
|
import com.alibaba.fastjson2.JSONObject;
|
|
|
-import com.project.common.annotation.Log;
|
|
|
-import com.project.common.enums.BusinessType;
|
|
|
import com.project.common.enums.EmployeeTypeEnum;
|
|
|
import com.project.common.utils.StringUtils;
|
|
|
import com.project.common.utils.http.HttpUtils;
|
|
@@ -60,7 +58,6 @@ public class DataTools {
|
|
|
/**
|
|
|
* 获取服务保障中心的数据
|
|
|
*/
|
|
|
- @Log(title = "获取服务保障中心的数据", businessType = BusinessType.OTHER)
|
|
|
public void getServiceData(String appOrg, String appName) {
|
|
|
String url = ApiUrlConfig.getServiceUrl();
|
|
|
System.out.printf("------------服务保障中心:%s", url);
|
|
@@ -136,7 +133,7 @@ public class DataTools {
|
|
|
|
|
|
public String repeat(String url, String params){
|
|
|
String result = null;
|
|
|
- if (!StringUtils.isEmpty(params)){
|
|
|
+ if (StringUtils.isNotBlank(params)){
|
|
|
String res = HttpUtils.sendGet(url, params);
|
|
|
if (StringUtils.isNotBlank(res)){
|
|
|
JSONObject jsonObject = JSONObject.parseObject(res);
|