Pārlūkot izejas kodu

联盟定向模板特殊处理

yumeng 4 gadi atpakaļ
vecāks
revīzija
6ac23b0801

+ 2 - 0
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/service/IKuaiShouGroupTemplateService.java

@@ -33,4 +33,6 @@ public interface IKuaiShouGroupTemplateService extends IService<KuaiShouGroupTem
     JSONObject getUrlByPhotoId(Long photoId);
 
     void createCreative(String accessToken, Long unitId, KuaiShouGroupTemplate template);
+
+    JSONObject getUnionJson(Long templateId);
 }

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

@@ -428,7 +428,8 @@ public class KuaiShouGroupTemplateServiceImpl extends ServiceImpl<KuaiShouGroupT
      *
      * @return
      */
-    private JSONObject getUnionJson(Long templateId) {
+    @Override
+    public JSONObject getUnionJson(Long templateId) {
         JSONObject returnJson = new JSONObject();
         QueryWrapper<KuaishouTemplateTarget> targetQueryWrapper = new QueryWrapper<>();
         targetQueryWrapper.eq("template_id", templateId);