yumeng 4 lat temu
rodzic
commit
002f4fe6e0

+ 8 - 2
module-kuaishou/src/main/java/cn/com/ctop/kuaishou/modules/batch/controller/MaterialRefuseController.java

@@ -190,8 +190,14 @@ public class MaterialRefuseController {
 
                 executorService.submit(new Runnable() {
                     @Override
-                    public  void run() {
-                        updateService.updateCreative(ctopOauthToken.getAccessToken(), accountId, requestJson);
+                    public void run() {
+                        Map<String, Object> creativeMap = updateService.updateCreative(ctopOauthToken.getAccessToken(), accountId, requestJson);
+                        Integer code = (Integer) creativeMap.get("code");
+                        if (code == 0) {
+                            log.info("拒审重提成功,accountId:{},creativeId:{}", accountId, creativeId);
+                        } else {
+                            log.info("拒审重提失败,accountId:{},creativeId:{}", accountId, creativeId);
+                        }
                     }
                 });