Эх сурвалжийг харах

修改添加、修改组件

15313670163 5 сар өмнө
parent
commit
9e41fd164a

+ 4 - 4
app/JsonRpc/PublicRpcService.php

@@ -1601,7 +1601,7 @@ class PublicRpcService implements PublicRpcServiceInterface
                 $add_arr['component_width'] = intval($data['ad_width']);
                 $add_arr['component_height'] = intval($data['ad_height']);
                 $add_arr['ad_type'] = intval($data['ad_type']);
-                $add_arr['ad_img'] = $data['ad_img'];
+                // $add_arr['ad_img'] = $data['ad_img'];
                 $ad = [
                     'width' => $add_arr['ad_width'],
                     'height' => $add_arr['ad_height'],
@@ -1609,7 +1609,7 @@ class PublicRpcService implements PublicRpcServiceInterface
                     'price' => '',
                     'introduce' => '',
                     'website_id' => '',
-                    'thumb' => $add_arr['ad_img'],
+                    // 'thumb' => $add_arr['ad_img'],
                     'typeid' => $add_arr['ad_type'],
                     'ad_tag' => '',
                 ];
@@ -1874,7 +1874,7 @@ class PublicRpcService implements PublicRpcServiceInterface
                 $add_arr['component_width'] = intval($data['ad_width']);
                 $add_arr['component_height'] = intval($data['ad_height']);
                 $add_arr['ad_type'] = intval($data['ad_type']);
-                $add_arr['ad_img'] = $data['ad_img'];
+                // $add_arr['ad_img'] = $data['ad_img'];
                 $ad = [
                     'width' => $add_arr['ad_width'],
                     'height' => $add_arr['ad_height'],
@@ -1883,7 +1883,7 @@ class PublicRpcService implements PublicRpcServiceInterface
                     'introduce' => '',
                     'website_id' => '',
                     'thumb' => $add_arr['ad_img'],
-                    'typeid' => $add_arr['ad_type'],
+                    // 'typeid' => $add_arr['ad_type'],
                     'ad_tag' => '',
                 ];
                 $add_arr['ad'] = json_encode($ad,true);