소스 검색

修改配送信息导致物流公司变成韵达快递

evoxwht 2 년 전
부모
커밋
fb37ee4b2f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      crmeb/app/model/other/Express.php

+ 1 - 1
crmeb/app/model/other/Express.php

@@ -72,7 +72,7 @@ class Express extends BaseModel
 
     public function searchCodeAttr($query, $value)
     {
-        if ($value === '') {
+        if ($value !== '') {
             $query->where('code', $value);
         }
     }