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