修改春耕补贴激活

This commit is contained in:
luofei 2024-03-07 16:36:42 +08:00
parent 0771bef93a
commit cf4d515741

View File

@ -37,7 +37,7 @@ class ActivateConsumptionListen extends TimerService implements ListenerInterfac
$item->start_time = date('Y-m-d H:i:s');
$item->end_time = date('Y-m-d H:i:s', strtotime('+1 year'));
$item->save();
UserBill::where('link_id', $item['coupon_user_id'])->where('type', 'red_pack_2')->update(['status', 1]);
UserBill::where('link_id', $item['coupon_user_id'])->where('type', 'red_pack_2')->update(['status' => 1]);
$count++;
}
}