Przeglądaj źródła

修改接口:随机模板-广告数据结构

15313670163 4 miesięcy temu
rodzic
commit
8e6c751cca
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4 4
      app/JsonRpc/PublicRpcService.php

+ 4 - 4
app/JsonRpc/PublicRpcService.php

@@ -1544,10 +1544,10 @@ class PublicRpcService implements PublicRpcServiceInterface
                 $add_arr['img_num'] = intval($data['img_num']);
                 $add_arr['text_num'] = intval($data['text_num']);
                 $component_data['componentData'] = [
-                    'category_id' => '',
+                    // 'category_id' => '',
                     'level' => $add_arr['level'],
                     'name' => '',
-                    'category_arr' => [],
+                    // 'category_arr' => [],
                     'imgSize' => $data['img_num'] ?? '',
                     'textSize' => $data['text_num'] ?? '',
                     'child' => [
@@ -1817,9 +1817,9 @@ class PublicRpcService implements PublicRpcServiceInterface
                 $add_arr['img_num'] = intval($data['img_num']);
                 $add_arr['text_num'] = intval($data['text_num']);
                 $component_data['componentData'] = [
-                    'category_id' => '',
+                    // 'category_id' => '',
                     'level' => $add_arr['level'],
-                    'category_arr' => [],
+                    // 'category_arr' => [],
                     'name' => '',
                     'imgSize' => $data['img_num'] ?? '',
                     'textSize' => $data['text_num'] ?? '',