|
@@ -10,18 +10,68 @@ import cn.com.ctop.common.module.service.IMaterialCutFrameService;
|
|
import cn.com.ctop.common.module.service.IMessageTemplate;
|
|
import cn.com.ctop.common.module.service.IMessageTemplate;
|
|
import cn.com.ctop.common.module.service.IOauthConfigService;
|
|
import cn.com.ctop.common.module.service.IOauthConfigService;
|
|
import cn.com.ctop.common.module.service.IUserAllocationService;
|
|
import cn.com.ctop.common.module.service.IUserAllocationService;
|
|
-import cn.com.ctop.common.module.utils.*;
|
|
|
|
-import cn.com.ctop.kuaishou.modules.ai.service.*;
|
|
|
|
-import cn.com.ctop.kuaishou.modules.batch.entity.*;
|
|
|
|
|
|
+import cn.com.ctop.common.module.utils.Check;
|
|
|
|
+import cn.com.ctop.common.module.utils.CtopAdConstant;
|
|
|
|
+import cn.com.ctop.common.module.utils.HttpUtils;
|
|
|
|
+import cn.com.ctop.common.module.utils.JsonUtil;
|
|
|
|
+import cn.com.ctop.common.module.utils.KuaishouInterfaceConstant;
|
|
|
|
+import cn.com.ctop.common.module.utils.PropertiesUtils;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.ai.service.IAiCreativeLimitService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.ai.service.IKuaishouAccountCreativeOverrunInfoService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.ai.service.IKuaishouAppPackageService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.ai.service.IKuaishouDirectionalPackageService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.ai.service.IKuaishouLandpagePackageService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.ai.service.IKuaishouPopulationGroupService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouAdvertiserBaseInfo;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouAppList;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouCampaign;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouCreative;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouDailyFlows;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouGroup;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouImageGet;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouRegionListChildren;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouRegionListParent;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouTargetingTags;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaiShouVideoGet;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.entity.KuaishouPopulation;
|
|
import cn.com.ctop.kuaishou.modules.batch.entity.vo.ConvertVo;
|
|
import cn.com.ctop.kuaishou.modules.batch.entity.vo.ConvertVo;
|
|
-import cn.com.ctop.kuaishou.modules.batch.mapper.*;
|
|
|
|
-import cn.com.ctop.kuaishou.modules.batch.service.*;
|
|
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.mapper.KuaiShouAdvertiserBaseInfoMapper;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.mapper.KuaiShouAppListMapper;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.mapper.KuaiShouGroupMapper;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.mapper.KuaiShouRegionListChildrenMapper;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.mapper.KuaiShouRegionListParentMapper;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.mapper.KuaiShouTargetingTagsMapper;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouCampaignService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouCreativeService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouDailyFlowsService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouGroupService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouHistoryReportTaskService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouImageGetService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouOverRunSendMessageService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaiShouVideoGetService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaishouInterfaceService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IKuaishouPopulationService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.batch.service.IWarningOperationService;
|
|
import cn.com.ctop.kuaishou.modules.material.entity.KuaishouResult;
|
|
import cn.com.ctop.kuaishou.modules.material.entity.KuaishouResult;
|
|
import cn.com.ctop.kuaishou.modules.material.entity.KuaishouResultToken;
|
|
import cn.com.ctop.kuaishou.modules.material.entity.KuaishouResultToken;
|
|
-import cn.com.ctop.kuaishou.modules.report.entity.*;
|
|
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportDailyAccount;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportDailyCampaign;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportDailyCreative;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportDailyCreativeStatistic;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportHourlyAccount;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportHourlyCampaign;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportHourlyCreative;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportHourlyCreativeStatistic;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.entity.KuaishouReportHourlyGroup;
|
|
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyAccountMapper;
|
|
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyAccountMapper;
|
|
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyCampaignMapper;
|
|
import cn.com.ctop.kuaishou.modules.report.mapper.KuaishouReportDailyCampaignMapper;
|
|
-import cn.com.ctop.kuaishou.modules.report.service.*;
|
|
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportDailyCampaignService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportDailyCreativeService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportHourlyAccountService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportHourlyCampaignService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportHourlyCreativeService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.service.IKuaishouReportHourlyGroupService;
|
|
|
|
+import cn.com.ctop.kuaishou.modules.report.service.IRuleKuaiShouPlanService;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSON;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONArray;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
import com.alibaba.fastjson.JSONObject;
|
|
@@ -56,7 +106,11 @@ import java.io.IOException;
|
|
import java.lang.reflect.ParameterizedType;
|
|
import java.lang.reflect.ParameterizedType;
|
|
import java.lang.reflect.Type;
|
|
import java.lang.reflect.Type;
|
|
import java.text.SimpleDateFormat;
|
|
import java.text.SimpleDateFormat;
|
|
-import java.util.*;
|
|
|
|
|
|
+import java.util.ArrayList;
|
|
|
|
+import java.util.Date;
|
|
|
|
+import java.util.HashMap;
|
|
|
|
+import java.util.List;
|
|
|
|
+import java.util.Map;
|
|
import java.util.concurrent.ExecutorService;
|
|
import java.util.concurrent.ExecutorService;
|
|
import java.util.concurrent.Executors;
|
|
import java.util.concurrent.Executors;
|
|
|
|
|
|
@@ -136,7 +190,8 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
private KuaiShouOcpxActionTypeConfigMapper ocpxActionTypeConfigMapper;
|
|
private KuaiShouOcpxActionTypeConfigMapper ocpxActionTypeConfigMapper;
|
|
@Autowired
|
|
@Autowired
|
|
private IMessageTemplate messageTemplate;
|
|
private IMessageTemplate messageTemplate;
|
|
-
|
|
|
|
|
|
+ @Autowired
|
|
|
|
+ private RedisUtil redisUtil;
|
|
private static ExecutorService cutExecutorService = Executors.newFixedThreadPool(10);
|
|
private static ExecutorService cutExecutorService = Executors.newFixedThreadPool(10);
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -886,10 +941,8 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
// 创建成功 拉取广告组信息
|
|
// 创建成功 拉取广告组信息
|
|
Thread.sleep(100);
|
|
Thread.sleep(100);
|
|
getCampaign(accessToken, advertiserId, campaignId);
|
|
getCampaign(accessToken, advertiserId, campaignId);
|
|
-
|
|
|
|
-
|
|
|
|
} else {
|
|
} else {
|
|
- log.error("创建广告计划失败,advertiser_id:{},返回信息:{}", advertiserId, resultJson);
|
|
|
|
|
|
+ log.error("创建[广告计划]失败,账户ID:{},返回结果:{},------入参:{}", advertiserId, resultJson, requestJson);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("message", resultJson.getString("message"));
|
|
returnMap.put("message", resultJson.getString("message"));
|
|
returnMap.put("desc", "创建广告计划失败");
|
|
returnMap.put("desc", "创建广告计划失败");
|
|
@@ -920,11 +973,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
* @param requestJson
|
|
* @param requestJson
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
-
|
|
|
|
-
|
|
|
|
- @Autowired
|
|
|
|
- private RedisUtil redisUtil;
|
|
|
|
-
|
|
|
|
@Override
|
|
@Override
|
|
public Map<String, Object> adUnitCreate(String accessToken, Long advertiserId, JSONObject requestJson, Integer count) {
|
|
public Map<String, Object> adUnitCreate(String accessToken, Long advertiserId, JSONObject requestJson, Integer count) {
|
|
Map<String, Object> returnMap = new HashMap<>();
|
|
Map<String, Object> returnMap = new HashMap<>();
|
|
@@ -939,7 +987,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
headers.put("Content-Type", " application/json");
|
|
headers.put("Content-Type", " application/json");
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), headers);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), headers);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
- log.info("快手创建广告组返回,accountId:{},返回结果:{}", advertiserId, resultJson);
|
|
|
|
|
|
+ log.info("【快手】建组返回,accountId:{},---结果:{}", advertiserId, resultJson);
|
|
if (!Check.isNull(resultJson)) {
|
|
if (!Check.isNull(resultJson)) {
|
|
Integer code = resultJson.getInteger("code");
|
|
Integer code = resultJson.getInteger("code");
|
|
if (code == 0) {
|
|
if (code == 0) {
|
|
@@ -994,12 +1042,11 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
String key = advertiserId + "_" + nowDate + "unit_create_overrun";
|
|
String key = advertiserId + "_" + nowDate + "unit_create_overrun";
|
|
redisUtil.set(key, 1, 60 * 60 * 24);
|
|
redisUtil.set(key, 1, 60 * 60 * 24);
|
|
-
|
|
|
|
}
|
|
}
|
|
if (code == 500000 && count <= 4) {
|
|
if (code == 500000 && count <= 4) {
|
|
adUnitCreate(accessToken, advertiserId, requestJson, count + 1);
|
|
adUnitCreate(accessToken, advertiserId, requestJson, count + 1);
|
|
}
|
|
}
|
|
- log.error("创建广告信息失败,advertiser_id:{},返回信息:{},入参:{}", advertiserId, resultJson, requestJson);
|
|
|
|
|
|
+ log.error("创建[广告组]失败,账户ID:{},返回结果:{},------入参:{}", advertiserId, resultJson, requestJson);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("message", resultJson.getString("message"));
|
|
returnMap.put("message", resultJson.getString("message"));
|
|
returnMap.put("desc", "创建广告组失败");
|
|
returnMap.put("desc", "创建广告组失败");
|
|
@@ -1017,7 +1064,7 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
returnMap.put("success", false);
|
|
returnMap.put("success", false);
|
|
}
|
|
}
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
- log.error("创建广告计划失败,advertiser_id:{}", advertiserId);
|
|
|
|
|
|
+ log.error("创建广告组失败,advertiser_id:{}", advertiserId);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("message", "创建广告组错误");
|
|
returnMap.put("message", "创建广告组错误");
|
|
returnMap.put("desc", "Interface exception");
|
|
returnMap.put("desc", "Interface exception");
|
|
@@ -2128,10 +2175,9 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
Map<String, String> header = new HashMap<String, String>();
|
|
Map<String, String> header = new HashMap<String, String>();
|
|
header.put("Content-Type", " application/json");
|
|
header.put("Content-Type", " application/json");
|
|
header.put("Access-Token", accessToken);
|
|
header.put("Access-Token", accessToken);
|
|
-
|
|
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), header);
|
|
String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), header);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
JSONObject resultJson = JSONObject.parseObject(result);
|
|
- log.info("快手创建创意返回:accountId:{},返回结果{}", advertiserId, resultJson);
|
|
|
|
|
|
+ log.info("【快手】建创意返回,accountId:{},---结果:{}", advertiserId, resultJson);
|
|
if (!Check.isNull(resultJson)) {
|
|
if (!Check.isNull(resultJson)) {
|
|
Integer code = resultJson.getInteger("code");
|
|
Integer code = resultJson.getInteger("code");
|
|
if (code == 0) {
|
|
if (code == 0) {
|
|
@@ -2165,24 +2211,20 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
if (code == 500000 && count <= 4) {
|
|
if (code == 500000 && count <= 4) {
|
|
creativeCreate(accessToken, advertiserId, requestJson, count + 1);
|
|
creativeCreate(accessToken, advertiserId, requestJson, count + 1);
|
|
}
|
|
}
|
|
-
|
|
|
|
if (code == 400001 && "/rest/openapi/v2/creative/create调用已超日限,次日可恢复调用".equals(resultJson.getString("message"))) {
|
|
if (code == 400001 && "/rest/openapi/v2/creative/create调用已超日限,次日可恢复调用".equals(resultJson.getString("message"))) {
|
|
creativeOverrunInfoService.updateOverrunInfo(advertiserId);
|
|
creativeOverrunInfoService.updateOverrunInfo(advertiserId);
|
|
overRunSendMessageService.creativeOverRunSendMessage(advertiserId, null);
|
|
overRunSendMessageService.creativeOverRunSendMessage(advertiserId, null);
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
String nowDate = DateUtils.getNowDate("yyyy-MM-dd");
|
|
String key = advertiserId + "_" + nowDate + "creative_create_overrun";
|
|
String key = advertiserId + "_" + nowDate + "creative_create_overrun";
|
|
redisUtil.set(key, 1, 60 * 60 * 24);
|
|
redisUtil.set(key, 1, 60 * 60 * 24);
|
|
-
|
|
|
|
-
|
|
|
|
}
|
|
}
|
|
-
|
|
|
|
if (code == 401000 && resultJson.getString("message").contains("超过可关联的有效创意的上限")) {
|
|
if (code == 401000 && resultJson.getString("message").contains("超过可关联的有效创意的上限")) {
|
|
creativeLimitService.replaceSava(advertiserId, requestJson.getLong("photo_id"));
|
|
creativeLimitService.replaceSava(advertiserId, requestJson.getLong("photo_id"));
|
|
}
|
|
}
|
|
if (code == 401000 && resultJson.getString("message").contains("视频不存在")) {
|
|
if (code == 401000 && resultJson.getString("message").contains("视频不存在")) {
|
|
creativeLimitService.replaceSava(advertiserId, requestJson.getLong("photo_id"));
|
|
creativeLimitService.replaceSava(advertiserId, requestJson.getLong("photo_id"));
|
|
}
|
|
}
|
|
- log.error("创建广告创意失败,advertiser_id:{},返回信息:{},入参:{}", advertiserId, resultJson, requestJson, count + 1);
|
|
|
|
|
|
+ log.error("创建[广告创意]失败,账户ID:{},返回结果:{},------入参:{}", advertiserId, resultJson, requestJson);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("message", resultJson.getString("message"));
|
|
returnMap.put("message", resultJson.getString("message"));
|
|
returnMap.put("desc", "创意创建失败");
|
|
returnMap.put("desc", "创意创建失败");
|
|
@@ -2192,7 +2234,6 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
if (count <= 4) {
|
|
if (count <= 4) {
|
|
creativeCreate(accessToken, advertiserId, requestJson, count + 1);
|
|
creativeCreate(accessToken, advertiserId, requestJson, count + 1);
|
|
}
|
|
}
|
|
-
|
|
|
|
log.error("快手创建广告创意返回内容为空,advertiser_id:{},入参:{}", advertiserId, requestJson);
|
|
log.error("快手创建广告创意返回内容为空,advertiser_id:{},入参:{}", advertiserId, requestJson);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("code", -1);
|
|
returnMap.put("message", "result is null");
|
|
returnMap.put("message", "result is null");
|
|
@@ -2907,6 +2948,67 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ /**
|
|
|
|
+ * 获取联盟定向媒体包列表
|
|
|
|
+ *
|
|
|
|
+ * @param accountId
|
|
|
|
+ * @param accessToken
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @Override
|
|
|
|
+ public void getMediaList(Long accountId, String accessToken, Integer page) {
|
|
|
|
+ List<JSONObject> list = new ArrayList<>();
|
|
|
|
+ try {
|
|
|
|
+ log.info("获取人群包列表,accountId:{}", accountId);
|
|
|
|
+ String url = PropertiesUtils.getConfig("kuaishou_api_url") + KuaishouInterfaceConstant.MEDIA_LIST;
|
|
|
|
+ Map<String, String> headers = new HashMap<>();
|
|
|
|
+ headers.put("Access-Token", accessToken);
|
|
|
|
+ headers.put("Content-Type", "application/json");
|
|
|
|
+ JSONObject requestJson = new JSONObject();
|
|
|
|
+ requestJson.put("advertiser_id", accountId);
|
|
|
|
+ requestJson.put("page", page);
|
|
|
|
+ requestJson.put("page_size", 50);
|
|
|
|
+ String result = HttpUtils.kuaiShouhttpPostRequest(url, requestJson.toJSONString(), headers);
|
|
|
|
+ JSONObject resultJson = JSONObject.parseObject(result);
|
|
|
|
+ if (!Check.isNull(resultJson)) {
|
|
|
|
+ Integer code = resultJson.getInteger("code");
|
|
|
|
+ if (code == 0) {
|
|
|
|
+ JSONObject dataDetailJson = resultJson.getJSONObject("data");
|
|
|
|
+ if (Check.isNull(dataDetailJson)) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ JSONArray details = dataDetailJson.getJSONArray("details");
|
|
|
|
+ if (Check.isNull(details)) {
|
|
|
|
+ return;
|
|
|
|
+ }
|
|
|
|
+ for (int i = 0; i < details.size(); i++) {
|
|
|
|
+ JSONObject jsonObject = details.getJSONObject(i);
|
|
|
|
+ JSONObject media = jsonObject.getJSONObject("media");
|
|
|
|
+ if (!Check.isNull(media)) {
|
|
|
|
+ media.put("posIds", media.getString("posIds"));
|
|
|
|
+ media.put("accountId", accountId);
|
|
|
|
+ list.add(media);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ if (!list.isEmpty()) {
|
|
|
|
+ populationService.replaceBatchMedia(list);
|
|
|
|
+ }
|
|
|
|
+ if (list.size() >= 50) {
|
|
|
|
+ getMediaList(accountId, accessToken, page + 1);
|
|
|
|
+ }
|
|
|
|
+ } else {
|
|
|
|
+ log.error("获取联盟定向媒体包列表失败,accountId:{},返回:{}", accountId, resultJson);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ } catch (Exception e) {
|
|
|
|
+ e.printStackTrace();
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+ @Override
|
|
|
|
+ public List<JSONObject> getMedias(Long accountId) {
|
|
|
|
+ return populationService.getMedias(accountId);
|
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
/**
|
|
* 获取定向标签
|
|
* 获取定向标签
|
|
@@ -3525,5 +3627,4 @@ public class KuaishouInterfaceServiceImpl implements IKuaishouInterfaceService {
|
|
return returnJson;
|
|
return returnJson;
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
}
|
|
}
|