cqpCow 1 рік тому
батько
коміт
664675b359
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      app/Service/CustomerService.php

+ 0 - 1
app/Service/CustomerService.php

@@ -458,7 +458,6 @@ class CustomerService extends Service
      * @param $is_add
      * @return array
      */
-    public function customerRule($data, $is_add = true){
     public function customerRule(&$data, $is_add = true){
         if(empty($data['model_type'])) return [false,'客户模板类型不能为空'];
         if(! in_array($data['model_type'],Customer::$model_type)) return [false,'客户模板类型错误'];