ade

thinkphp5.1保存搜索条件
$map[] = ['sell_id','=',API_UID]; $map[] = ['status','=',...
扫描右侧二维码阅读全文
28
2019/01

thinkphp5.1保存搜索条件

$map[] = ['sell_id','=',API_UID];
$map[] = ['status','=',1];
$find='id,cid,goods_title,goods_price,goods_notes,create_time';
$list = $customer->where($map)->order('id desc')->field($find)->paginate('', false, [
                'query' => Request::instance()->param()]);
$this->assign('list', $list);
最后修改:2019 年 01 月 28 日 02 : 53 PM

发表评论