- 按 docs/renew-code-comment.md 将 PHP 文件头改为带边框的 Author 注释\n- 注释中的 crmeb.com 替换为 uj345.cn(代码字符串中的外链未改)\n- 新增 docs/renew-code-comment.md 说明 Made-with: Cursor
47 lines
1.0 KiB
PHP
47 lines
1.0 KiB
PHP
<?php
|
|
// +----------------------------------------------------------------------
|
|
// | Author: ScottPan Team
|
|
// +----------------------------------------------------------------------
|
|
|
|
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);
|
|
}
|
|
|
|
}
|