Explorar o código

修改接口:自助建站-选择皮肤

FengR hai 1 mes
pai
achega
5401374dae
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      app/JsonRpc/PublicRpcService.php

+ 2 - 2
app/JsonRpc/PublicRpcService.php

@@ -2327,6 +2327,7 @@ class PublicRpcService implements PublicRpcServiceInterface
             if($data['template_id'] != $website_template_info['template_id']){
                 $info_data = [
                     'template_id' => $data['template_id'],
+                    'status' => 0,
                     'action_id' => 2,
                     'user_id'=> $data['user_id']
                 ];
@@ -2339,9 +2340,8 @@ class PublicRpcService implements PublicRpcServiceInterface
             }else{
                 $info_data = [
                     'template_id' => $data['template_id'],
-                    'status' => 0,
+                    'user_id'=> $data['user_id'],
                     'action_id' => 2,
-                    'user_id'=> $data['user_id']
                 ];
                  $template = [
                     'template_id' => $data['template_id'],