Browse Source

修改接口:添加组件、修改组件;

15313670163 2 days ago
parent
commit
38d2b53aac
1 changed files with 2 additions and 2 deletions
  1. 2 2
      app/JsonRpc/PublicRpcService.php

+ 2 - 2
app/JsonRpc/PublicRpcService.php

@@ -1300,7 +1300,7 @@ class PublicRpcService implements PublicRpcServiceInterface
         // 7:资讯-栏目类组件;8:列表类组件;9:详情类组件;10:二级导航栏类组件;11:广告类;12:静态资源类;13:底部导航类;
         $data['type_id'] = intval($data['type_id']);
         $add_arr = [
-            'template_id' => intval($data['template_id']),
+            // 'template_id' => intval($data['template_id']),
             'component_type' => intval($data['component_type']),
             'component_name' => $data['component_name'],
             'component_img' => $data['component_img'],
@@ -1455,7 +1455,7 @@ class PublicRpcService implements PublicRpcServiceInterface
         //    7:资讯-栏目类组件;8:列表类组件;9:详情类组件;10:二级导航栏类组件;11:广告类;12:静态资源类;13:底部导航类;
         $data['type_id'] = intval($data['type_id']);
         $add_arr = [
-            'template_id' => intval($data['template_id']),
+            // 'template_id' => intval($data['template_id']),
             'component_type' => intval($data['component_type']),
             'component_name' => $data['component_name'],
             'component_img' => $data['component_img'],