Commit 2f291aba by 杨树贤

修改时间

parent 42612a5f
...@@ -29,7 +29,7 @@ class ResetExchangeSettingsCronJob extends CronJob ...@@ -29,7 +29,7 @@ class ResetExchangeSettingsCronJob extends CronJob
public function run() public function run()
{ {
//判断是否是10点,如果是10点就进行重置任务 //判断是否是10点,如果是10点就进行重置任务
$time = Carbon::create(null, null, null, 15, 00); $time = Carbon::create(null, null, null, 15, 30);
$time = $time->timestamp; $time = $time->timestamp;
$now = Carbon::now()->timestamp; $now = Carbon::now()->timestamp;
if ($time === $now) { if ($time === $now) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment