diff --git a/crmeb/app/services/activity/coupon/StoreCouponUserUserServices.php b/crmeb/app/services/activity/coupon/StoreCouponUserUserServices.php index 5e856b673..50b35a3ae 100644 --- a/crmeb/app/services/activity/coupon/StoreCouponUserUserServices.php +++ b/crmeb/app/services/activity/coupon/StoreCouponUserUserServices.php @@ -45,7 +45,7 @@ class StoreCouponUserUserServices extends BaseServices [$page, $limit] = $this->getPageValue(); $list = $this->dao->sysPage($where, $page, $limit); foreach ($list as $k => &$v) { - $v['start_time'] = $v['add_time']; + $v['start_time'] = $v['start_time'] > 0 ? $v['start_time'] : $v['add_time']; if ($v['end_time'] < time() || $v['use_time'] != 0) $v['is_fail'] = 1; } $count = $this->dao->sysCount($where); diff --git a/template/admin/src/pages/marketing/storeCouponUser/index.vue b/template/admin/src/pages/marketing/storeCouponUser/index.vue index f22cfad97..cda0ffae3 100644 --- a/template/admin/src/pages/marketing/storeCouponUser/index.vue +++ b/template/admin/src/pages/marketing/storeCouponUser/index.vue @@ -42,7 +42,7 @@