作者 anyv
1 个管道 的构建 通过 耗费 0 秒

搜索

... ... @@ -182,7 +182,7 @@ class IndexController extends WeChatBaseController
public function search_salesman_goods(){
$book_name = $_POST['book_name'];
$data_salesman_goods = Db::name('goods') -> where("type =2 book_name") -> where('book_name','like',"%".$book_name."%") -> select();
$data_salesman_goods = Db::name('goods') -> where("type =2 ") -> where('book_name','like',"%".$book_name."%") -> select();
$this -> assign('data_salesman_goods',$data_salesman_goods);
return $this -> fetch();
... ...