Browse Source

修改接口:随机模板-广告数据层级修改

15313670163 4 tháng trước cách đây
mục cha
commit
6c886221bd
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -3220,7 +3220,7 @@ class PublicRpcService implements PublicRpcServiceInterface
                     //    $canvas_data[$key]['ad'] = array_combine($ad, $canvas_adinfo[$key]);
                        $Component['componentData'] = [];
                     }
-                    if(isset($components[$selectedComponentId]['type_id']) && $components[$selectedComponentId]['type_id'] == 15){
+                    if(isset($components[$selectedComponentId]['type_id']) && $components[$selectedComponentId]['type_id'] == 14){
                         $ad = $components[$selectedComponentId]['ad'];
                         $template_data[$key]['ad'] = $ad;