wupengfei 3 년 전
부모
커밋
655a0554bc
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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)