修改商户冻结金额解冻时间
This commit is contained in:
parent
ca00b1ab27
commit
dd5bfd7f11
@ -25,7 +25,7 @@ class AutoUnlockMerchantMoneyListen extends TimerService implements ListenerInte
|
|||||||
public function handle($event): void
|
public function handle($event): void
|
||||||
{
|
{
|
||||||
$this->tick(1000 * 60 * 60, function () {
|
$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();
|
request()->clearCache();
|
||||||
/** @var UserBillRepository $userBill */
|
/** @var UserBillRepository $userBill */
|
||||||
$userBill = app()->make(UserBillRepository::class);
|
$userBill = app()->make(UserBillRepository::class);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user