|
@@ -31,6 +31,7 @@ import org.springframework.web.bind.annotation.RestController;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
import java.util.Arrays;
|
|
import java.util.Arrays;
|
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
/**
|
|
* @Description: 今日头条视频素材信息
|
|
* @Description: 今日头条视频素材信息
|
|
@@ -211,8 +212,9 @@ public class ByteDanceVideoInfoController {
|
|
if (!Check.isNull(content)) {
|
|
if (!Check.isNull(content)) {
|
|
Long agentId = content.getLong("agent_id");
|
|
Long agentId = content.getLong("agent_id");
|
|
JSONArray illegalMaterialIds = content.getJSONArray("illegal_material_ids");//违规素材集合
|
|
JSONArray illegalMaterialIds = content.getJSONArray("illegal_material_ids");//违规素材集合
|
|
|
|
+ List<Long> list = JSONArray.parseArray(illegalMaterialIds.toJSONString(), Long.class);
|
|
Long promotionId = content.getLong("promotion_id");//计划id
|
|
Long promotionId = content.getLong("promotion_id");//计划id
|
|
- byteDanceVideoInfoService.getIllegalVideosPushInfo(agentId, illegalMaterialIds, promotionId);
|
|
|
|
|
|
+ byteDanceVideoInfoService.getIllegalVideosPushInfo(agentId, list, promotionId);
|
|
} else {
|
|
} else {
|
|
log.error("content数据为空");
|
|
log.error("content数据为空");
|
|
}
|
|
}
|
|
@@ -232,7 +234,8 @@ public class ByteDanceVideoInfoController {
|
|
* 获取广告违规素材详情
|
|
* 获取广告违规素材详情
|
|
*/
|
|
*/
|
|
@RequestMapping(value = "/getIllegalVideosPushInfo")
|
|
@RequestMapping(value = "/getIllegalVideosPushInfo")
|
|
- public void getIllegalVideosPushInfo(Long agentId, @RequestBody JSONArray illegalMaterialIds, Long promotionId) {
|
|
|
|
- byteDanceVideoInfoService.getIllegalVideosPushInfo(agentId, illegalMaterialIds, promotionId);
|
|
|
|
|
|
+ public void getIllegalVideosPushInfo(Long agentId, @RequestBody List<Long> list, Long promotionId) {
|
|
|
|
+ byteDanceVideoInfoService.getIllegalVideosPushInfo(agentId, list, promotionId);
|
|
}
|
|
}
|
|
|
|
+
|
|
}
|
|
}
|