// +---------------------------------------------------------------------- namespace app\jobs\activity\pink; use app\services\activity\combination\StorePinkServices; use crmeb\basic\BaseJobs; use crmeb\traits\QueueTrait; use think\db\exception\DataNotFoundException; use think\db\exception\ModelNotFoundException; /** * 分页处理拼团 * Class AuthPinkFail * @package app\jobs\pink */ class AuthPinkFail extends BaseJobs { use QueueTrait; /** * @return string */ protected static function queueName() { return 'CRMEB_PRO_TASK'; } /** * @param $page * @param $limit * @return bool * @throws DataNotFoundException * @throws ModelNotFoundException */ public function doJob($page, $limit) { /** @var StorePinkServices $service */ $service = app()->make(StorePinkServices::class); return $service->statusPink((int)$page, (int)$limit); } }