瀏覽代碼

去除日志打印

yumeng 5 年之前
父節點
當前提交
3b94c48495

+ 1 - 4
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/impl/KuaishouInterfaceServiceImpl.java

@@ -2971,7 +2971,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
     public Map<String, Object> advertiserInfo(Long accountId, String accessToken) {
         Map<String, Object> returnMap = new HashMap<>();
         try {
-
             Map<String, Object> deleteMap = new HashMap<>();
             deleteMap.put("account_id", accountId);
             advertiserBaseInfoMapper.deleteByMap(deleteMap);
@@ -3038,7 +3037,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
             json.put("advertiser_id", advertiserId);
             String result = HttpUtils.kuaiShouhttpPostRequest(url, json.toJSONString(), headers);
             JSONObject resultJson = JSONObject.parseObject(result);
-            System.err.println(resultJson);
             if (!Check.isNull(resultJson)) {
                 Integer code = resultJson.getInteger("code");
                 if (code == 0) {
@@ -3066,7 +3064,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
                         }
                     }
                 } else {
-                    log.error("获取应用列表失败,返回信息:{}",resultJson);
+                    log.error("获取应用列表失败,返回信息:{}", resultJson);
                 }
             } else {
                 log.error("获取地域列表返回结果为空");
@@ -3186,7 +3184,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
             String result = HttpUtils.httpPostRequest(url, param, headers);
 
             JSONObject resultJson = JSONObject.parseObject(result);
-            log.info("返回信息:{}", resultJson);
             Integer code = resultJson.getInteger("code");
             String message = resultJson.getString("message");
             if (null == code || code != 0) {