...
|
...
|
@@ -2,6 +2,7 @@ |
|
|
|
|
|
namespace app\api\job;
|
|
|
|
|
|
use think\Exception;
|
|
|
use think\queue\Job;
|
|
|
|
|
|
|
...
|
...
|
@@ -25,7 +26,7 @@ class OrderAutoOper extends BaseJob |
|
|
|
|
|
// 删除 job
|
|
|
$job->delete();
|
|
|
} catch (\Exception $e) {
|
|
|
} catch (Exception $e) {
|
|
|
// 队列执行失败
|
|
|
\think\Log::write('queue-' . get_class() . '-autoClose' . ':执行失败,错误信息:' . $e->getMessage());
|
|
|
}
|
...
|
...
|
|