feat(sign): 优化签到领券设置功能
- 添加优惠券选择器功能 - 优化签到天数和概率输入范围 - 更新签到状态为禁用/启用选项 - 调整表单布局和样式 - 优化数据表格显示
This commit is contained in:
@@ -36,7 +36,9 @@ class Coupon extends Common
|
||||
if (!$this->request->isAjax()) {
|
||||
return $this->view->fetch();
|
||||
}
|
||||
|
||||
if ($this->request->request('keyField')) {
|
||||
return $this->selectpage();
|
||||
}
|
||||
$coupons = $this->model->sheepFilter()->paginate($this->request->param('list_rows', 10))->each(function ($coupon) {
|
||||
// 优惠券领取和使用数量
|
||||
$coupon->get_num = $coupon->get_num;
|
||||
|
||||
Reference in New Issue
Block a user