This commit is contained in:
2024-03-22 11:21:13 +08:00
parent 4804e3f930
commit 77af894a76
2 changed files with 11 additions and 10 deletions
+2 -1
View File
@@ -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("发放完毕");