wupengfei hace 3 años
padre
commit
655a0554bc
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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)