优惠劵

This commit is contained in:
devil_gong 2019-10-15 18:14:13 +08:00
parent b4aadfdf56
commit 0e44363f67
2 changed files with 25 additions and 0 deletions

View File

@ -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

View File

@ -8,6 +8,7 @@
left: 0;
top: 0;
width: 100%;
z-index: 1;
}
.nav-tabs .nav-item {
text-align: center;