修改商户冻结金额解冻时间

This commit is contained in:
luofei 2024-03-09 17:51:51 +08:00
parent ca00b1ab27
commit dd5bfd7f11

@ -25,7 +25,7 @@ class AutoUnlockMerchantMoneyListen extends TimerService implements ListenerInte
public function handle($event): void
{
$this->tick(1000 * 60 * 60, function () {
if (time() >= strtotime('today 18:00:00') && time() >= strtotime('today 20:00:00')) {
if (time() >= strtotime('today 18:00:00') && time() <= strtotime('today 20:00:00')) {
request()->clearCache();
/** @var UserBillRepository $userBill */
$userBill = app()->make(UserBillRepository::class);