Explorar o código

修改创建会话

FengR hai 2 meses
pai
achega
2eee145f91
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      app/JsonRpc/PublicRpcService.php

+ 4 - 4
app/JsonRpc/PublicRpcService.php

@@ -4224,10 +4224,10 @@ class PublicRpcService implements PublicRpcServiceInterface
         if(empty($website)){
             return Result::error('网站不存在!');
         }
-        $template = Template::where('template_id',$data['template_id'])->first();
-        if(empty($template)){
-            return Result::error('皮肤不存在!');
-        }
+        // $template = Template::where('template_id',$data['template_id'])->first();
+        // if(empty($template)){
+        //     return Result::error('皮肤不存在!');
+        // }
         $date = date('Hisms');
         //  $date = 1631191019
         $rand_num = rand(1000,9999);