mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-11-30 10:59:47 +08:00
优惠劵
This commit is contained in:
parent
b4aadfdf56
commit
0e44363f67
@ -35,6 +35,30 @@ class Coupon extends Common
|
||||
$this->IsLogin();
|
||||
}
|
||||
|
||||
/**
|
||||
* 优惠劵首页
|
||||
* @author Devil
|
||||
* @blog http://gong.gg/
|
||||
* @version 1.0.0
|
||||
* @date 2019-10-15
|
||||
* @desc description
|
||||
*/
|
||||
public function Index()
|
||||
{
|
||||
// 优惠劵列表
|
||||
$coupon_params = [
|
||||
'where' => [
|
||||
'is_enable' => 1,
|
||||
'is_user_receive' => 1,
|
||||
],
|
||||
'm' => 0,
|
||||
'n' => 1000000,
|
||||
'is_sure_receive' => 1,
|
||||
'user' => $this->user,
|
||||
];
|
||||
$ret = CallPluginsServiceMethod('coupon', 'CouponService', 'CouponList', $coupon_params);
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户优惠劵列表
|
||||
* @author Devil
|
||||
|
@ -8,6 +8,7 @@
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 1;
|
||||
}
|
||||
.nav-tabs .nav-item {
|
||||
text-align: center;
|
||||
|
Loading…
Reference in New Issue
Block a user