ソースを参照

自助建站---流程---4.选择皮肤

15313670163 1 ヶ月 前
コミット
320930d7e9
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -1391,7 +1391,7 @@ class PublicRpcService implements PublicRpcServiceInterface
         if($website_template_info['status'] == 2){
             return Result::error('网站已应用,不可再次修改!');
         }
-        $template = Template::where('id', $data['template_id'])->first();
+        $template = Template::where('template_id', $data['template_id'])->first();
         if(empty($template)){
             return Result::error('未查询到皮肤!');
         }