wupengfei 3 vuotta sitten
vanhempi
commit
655a0554bc
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      application/api/controller/Expedite.php

+ 2 - 1
application/api/controller/Expedite.php

@@ -91,7 +91,8 @@ class Expedite extends Base
         $sel_where = [];
         $sel_where['status']=1;
         $sel_where['is_deleted']=0;
-        if(input('goods_name')) $sel_where[] = ['name','like',"'%".input('name')."'%"];
+
+        if(input('goods_name')) $sel_where[] = ['name','like',"'%".input('goods_name')."'%"];
 
         $list = Db::table('store_goods')
             ->where($sel_where)