소스 검색

api url修改

yangzian 4 년 전
부모
커밋
0011925f7e
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      jeecg-boot-bytedance/src/main/java/org/jeecg/modules/bytedance/advertise/dockapi/marketing.java

+ 4 - 4
jeecg-boot-bytedance/src/main/java/org/jeecg/modules/bytedance/advertise/dockapi/marketing.java

@@ -116,7 +116,7 @@ public class marketing {
         params.put("offset", "0");
         params.put("limit", "100");
         JSONObject jsonObject = HttpUtils.bytedanceGetRequest(token.getAccessToken(),
-                PropertiesUtils.getValue("bytedance_config", "bytedance_v2_dmp_custom_audience_select"),
+                urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_dmp_custom_audience_select"),
                 params);
         Integer code = jsonObject.getInteger("code");
         String message = jsonObject.getString("message");
@@ -150,7 +150,7 @@ public class marketing {
         //广告创意ID
         params.put("creative_ids", creativeIds);
         JSONObject jsonObject = HttpUtils.bytedanceGetRequest(token.getAccessToken(),
-                PropertiesUtils.getValue("bytedance_config", "bytedance_v2_create_reject_reason"),
+                urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_create_reject_reason"),
                 params);
         Integer code = jsonObject.getInteger("code");
         String message = jsonObject.getString("message");
@@ -582,7 +582,7 @@ public class marketing {
         params.put("advertiser_id", advertiserId);
         params.put("data", listMap);
         JSONObject jsonObject = HttpUtils.bytedancePostRequest(token.getAccessToken(),
-                PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_bid"), params);
+                urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_bid"), params);
         int code = jsonObject.getInteger("code");
         if (code != 0) {
             log.info("修改计划出价接口异常==》accountId:{},message:{}", token.getAccountId(), jsonObject.getString("message"));
@@ -608,7 +608,7 @@ public class marketing {
         params.put("advertiser_id", advertiserId);
         params.put("data", listMap);
         JSONObject jsonObject = HttpUtils.bytedancePostRequest(token.getAccessToken(),
-                PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_budget_plan"), params);
+               urlPath + PropertiesUtils.getValue("bytedance_config", "bytedance_v2_ad_update_budget_plan"), params);
         int code = jsonObject.getInteger("code");
         Map<String, Object> resultMap = new HashMap<>();
         if (code != 0) {