afa 7 달 전
부모
커밋
94d0572b34
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      application/common/model/Synthesis.php

+ 1 - 1
application/common/model/Synthesis.php

@@ -33,7 +33,7 @@ class Synthesis extends Model
     const Normal           = 1;
 
     //获取详情
-    public function getBySynthesis(int $id, string $lan)
+    public static function getBySynthesis(int $id, string $lan)
     {
         return self::alias('a')->where('a.id', $id)
                 ->join("product_list b", "a.product_id = b.id", "left")