Pārlūkot izejas kodu

提交速卖通的客户like减速

lvhao 4 mēneši atpakaļ
vecāks
revīzija
4e99274d3f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      core/CoreApp/controllers/Customersmt.php

+ 1 - 1
core/CoreApp/controllers/Customersmt.php

@@ -106,7 +106,7 @@ class Customersmt extends Start_Controller {
             }
 			if($fullname)
             {
-                $where  .= " and fullname = '$fullname'";
+                $where  .= " and fullname like '%$fullname%'";
             }
 			if($userid)
             {