标签:like ssi 无数据 assign request query sign map .com
$name = input(‘get.searchKey/s‘); if($name != ""){ $this->assign(‘searchKey‘, $name); $map[‘name‘] = [‘like‘,‘%‘.$name.‘%‘]; } $map[‘delete‘] = 0; $list = Db::name(‘goods‘)->where($map) ->paginate(10,false,[‘query‘=>request()->param()]); $this->assign(‘list‘, $list) ->assign(‘empty‘, ‘<td colspan="9">暂无数据</td>‘); return $this->fetch();
标签:like ssi 无数据 assign request query sign map .com
原文地址:https://www.cnblogs.com/qhorse/p/8986598.html