私域直播增加我的秒杀入口

This commit is contained in:
lccsw
2023-06-15 10:28:10 +08:00
parent 09757284ae
commit f379ed6198
2 changed files with 4 additions and 1 deletions
@@ -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){
@@ -122,7 +122,8 @@
that.loading = true;
var params = {
'skey':'<?=$skey?>',
'page':that.page
'page':that.page,
'type':'<?=$this->input->get('type');?>'
}
//请求接口
$.get('/h5/market/sylive2/ucenter/ajax_order',params,function (res){