DeTechn Blog

tp5.1保存搜索条件

<?php
$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);

当前页面是本站的「Google AMP」版。查看和发表评论请点击:完整版 »