Browse Source

修改数据

yumeng 3 years ago
parent
commit
3cf9362ba5

+ 2 - 2
jeecg-boot-module-system/src/main/java/cn/com/ctop/kuaishou/modules/ai/service/impl/AiKuaishouCreateCreativeServiceImpl.java

@@ -749,7 +749,7 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
         programJson.put("cover_image_tokens", coverImageTokens);
 
         if (!Check.isNull(strategy.getSiteId())) {
-            if (strategy.getSiteId() != -1) {
+            if (!strategy.getSiteId().equals("-1") ) {
                 programJson.put("site_id", strategy.getSiteId());
             }
 
@@ -1455,7 +1455,7 @@ public class AiKuaishouCreateCreativeServiceImpl implements IAiKuaishouCreateCre
         }
         // 安卓下载中间页ID
         if (!Check.isNull(strategy.getSiteId())) {
-            if (strategy.getSiteId() != -1) {
+            if (!strategy.getSiteId().equals("-1") ) {
                 creativeParams.put("site_id", strategy.getSiteId());
             }
         }