From f379ed6198310d9464bab112fdfd06b9ca6cbd3c Mon Sep 17 00:00:00 2001 From: lccsw <805383944@qq.com> Date: Thu, 15 Jun 2023 10:28:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=81=E5=9F=9F=E7=9B=B4=E6=92=AD=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E6=88=91=E7=9A=84=E7=A7=92=E6=9D=80=E5=85=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- home/controllers/h5/market/sylive2/Ucenter.php | 2 ++ home/views/h5/market/sylive2/ucenter/orders.php | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/home/controllers/h5/market/sylive2/Ucenter.php b/home/controllers/h5/market/sylive2/Ucenter.php index bb5c352c..be4164be 100644 --- a/home/controllers/h5/market/sylive2/Ucenter.php +++ b/home/controllers/h5/market/sylive2/Ucenter.php @@ -31,6 +31,7 @@ class Ucenter extends Wx{ $lists[] = ['title'=>'我的权益','url'=>"/h5/market/sylive2/ucenter/orders?skey={$params['skey']}"]; $lists[] = ['title'=>'我的抽奖','url'=>"/h5/market/sylive2/ucenter/win?skey={$params['skey']}"]; + $lists[] = ['title'=>'我的秒杀','url'=>"/h5/market/sylive2/ucenter/orders?skey={$params['skey']}&type=1"]; $jsondata['serviceLink'] && $lists[] = ['title'=>'联系客服','url'=>$jsondata['serviceLink']]; $user = $this->user_model->get(['userId'=>$this->uid],'unionid,nickname,headimg'); @@ -196,6 +197,7 @@ class Ucenter extends Wx{ 'type' => 0, 'status' => 1 ]; + $where['type'] = int($params['type']) ? 1 : 0; $total = $this->market_sylive_order_model->count($where); $lists = []; if($total){ diff --git a/home/views/h5/market/sylive2/ucenter/orders.php b/home/views/h5/market/sylive2/ucenter/orders.php index ace932b8..4773fb1d 100644 --- a/home/views/h5/market/sylive2/ucenter/orders.php +++ b/home/views/h5/market/sylive2/ucenter/orders.php @@ -122,7 +122,8 @@ that.loading = true; var params = { 'skey':'', - 'page':that.page + 'page':that.page, + 'type':'input->get('type');?>' } //请求接口 $.get('/h5/market/sylive2/ucenter/ajax_order',params,function (res){