cqp 2 ヶ月 前
コミット
f4b84232b3
1 ファイル変更1 行追加1 行削除
  1. 1 1
      app/Service/QuantizationService.php

+ 1 - 1
app/Service/QuantizationService.php

@@ -251,7 +251,7 @@ class QuantizationService extends Service
                 ->where('del_time',0)
                 ->exists();
         }
-        if(! $bool) return [false,'编码已存在'];
+        if($bool) return [false,'编码已存在'];
 
         return [true, $data];
     }