1
This commit is contained in:
@@ -43,7 +43,7 @@ class GrantUserCouponCommand extends HyperfCommand
|
||||
|
||||
// 获取需要发放的优惠卷数据
|
||||
$params = array();
|
||||
$params['coupon_id'] = 3;
|
||||
$params['coupon_id'] = 5;
|
||||
$coupon = Coupon::getOne($params);
|
||||
if (empty($coupon)){
|
||||
$this->line("结束:无可执行优惠卷");
|
||||
@@ -80,6 +80,7 @@ class GrantUserCouponCommand extends HyperfCommand
|
||||
Db::commit();
|
||||
|
||||
$this->line("用户" . $user['user_name'] . "执行完毕");
|
||||
sleep(1);
|
||||
}
|
||||
|
||||
$this->line("发放完毕");
|
||||
|
||||
Reference in New Issue
Block a user