Browse Source

修改代码逻辑

syh 4 years ago
parent
commit
a1cfba46dd

+ 2 - 1
module-toutiao/src/main/java/cn/com/ctop/toutiao/modules/material/service/impl/ByteDanceCreativeServiceImpl.java

@@ -10,6 +10,7 @@ import com.alibaba.fastjson.JSONArray;
 import com.alibaba.fastjson.JSONObject;
 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import lombok.extern.slf4j.Slf4j;
+import org.jeecg.common.util.DateUtils;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.context.annotation.Primary;
 import org.springframework.stereotype.Service;
@@ -293,7 +294,7 @@ public class ByteDanceCreativeServiceImpl extends ServiceImpl<ByteDanceCreativeM
             Map<String,Object> getData = creativeCreate(accountId+"",planIds.getLong(i),params);
             array.add(getData);
         }
-        getAdvertiserCreative(token,null,null);
+        getAdvertiserCreative(token,null, DateUtils.formatDate());
         result.put("data",array);
         ResultMapUtils.setResultMap(result,StatusCode.COMMON_SUCCESS);
         return result;