소스 검색

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

15313670163 4 달 전
부모
커밋
8e6c751cca
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  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'] ?? '',