Merge branch 'feature/purchase_record' into dev

This commit is contained in:
luofei 2023-07-12 14:28:31 +08:00
commit 0a56be0b1e
2 changed files with 2 additions and 2 deletions

View File

@ -29,7 +29,7 @@ class MerchantUpdateValidate extends Validate
'mer_address|店铺地址' => 'require|max:128', 'mer_address|店铺地址' => 'require|max:128',
'long|店铺经度' => 'max:24', 'long|店铺经度' => 'max:24',
'lat|店铺纬度' => 'max:24', 'lat|店铺纬度' => 'max:24',
'interest_rate|利率' => 'min:0.01|max:0.1', 'interest_rate|利率' => 'min:0.009|max:0.101',
'settle_cycle|结算周期' => 'min:15|max:90', 'settle_cycle|结算周期' => 'min:15|max:90',
]; ];

View File

@ -14,7 +14,7 @@ class AutoCheckCreditBuyListen extends TimerService implements ListenerInterface
public function handle($event): void public function handle($event): void
{ {
Log::info(__FUNCTION__ . '监听到信用购订单自动结算'); Log::info(__FUNCTION__ . '监听到信用购订单自动结算');
$tomorrow = strtotime('tomorrow 14:08:00'); $tomorrow = strtotime('tomorrow 14:30:00');
$time = ($tomorrow - time()) * 1000; $time = ($tomorrow - time()) * 1000;
$this->tick($time, function () { $this->tick($time, function () {
request()->clearCache(); request()->clearCache();