소스 검색

自助建站---流程---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('未查询到皮肤!');
         }