|
|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
namespace app\services\system\crontab;
|
|
|
|
|
|
+use app\api\controller\v1\user\UserController;
|
|
|
use app\services\activity\combination\StorePinkServices;
|
|
|
use app\services\activity\live\LiveGoodsServices;
|
|
|
use app\services\activity\live\LiveRoomServices;
|
|
|
@@ -34,6 +35,7 @@ class CrontabRunServices
|
|
|
'advanceOff' => '预售商品到期自动下架',
|
|
|
'productReplay' => '订单商品自动好评',
|
|
|
'clearPoster' => '清除昨日海报',
|
|
|
+ 'jobs' => '发放核销路线奖励',
|
|
|
];
|
|
|
|
|
|
/**
|
|
|
@@ -78,6 +80,21 @@ class CrontabRunServices
|
|
|
$this->crontabLog('自动取消订单失败,失败原因:' . $e->getMessage());
|
|
|
}
|
|
|
}
|
|
|
+ /**
|
|
|
+ * 发放核销路线奖励
|
|
|
+ * @author 吴汐
|
|
|
+ * @email 442384644@qq.com
|
|
|
+ * @date 2023/03/01
|
|
|
+ */
|
|
|
+ public function jobs()
|
|
|
+ {
|
|
|
+ try {
|
|
|
+ app()->make(UserController::class)->jobs();
|
|
|
+ $this->crontabLog(' 发放核销路线奖励');
|
|
|
+ } catch (\Throwable $e) {
|
|
|
+ $this->crontabLog('发放核销路线奖励失败,失败原因:' . $e->getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
/**
|
|
|
* 拼团到期订单处理
|