cqp 3 달 전
부모
커밋
20420d5224
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/Service.php

+ 1 - 1
app/Service/Service.php

@@ -927,7 +927,7 @@ class Service
     }
 
     public function checkArrayRepeat($data, $column, $title = ""){
-        $ids = array_column($data[$column], $column);
+        $ids = array_column($data, $column);
 
         // 检查空值
         if (in_array('', $ids, true) || in_array(null, $ids, true)) {