Sfoglia il codice sorgente

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

evoxwht 2 anni fa
parent
commit
fb37ee4b2f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);
         }
     }