// +---------------------------------------------------------------------- namespace app\jobs\work; use app\services\work\WorkGroupChatServices; use crmeb\basic\BaseJobs; use crmeb\traits\QueueTrait; /** * 企业微信群 * Class WorkGroupChatJob * @package app\jobs\work */ class WorkGroupChatJob extends BaseJobs { use QueueTrait; public function authChat($corpId, $chatId) { /** @var WorkGroupChatServices $make */ $make = app()->make(WorkGroupChatServices::class); return $make->saveWorkGroupChat($corpId, $chatId); } /** * @author 等风来 * @email 136327134@qq.com * @date 2022/10/10 * @param $nextCursor */ public function authGroupChat($nextCursor) { /** @var WorkGroupChatServices $make */ $make = app()->make(WorkGroupChatServices::class); return $make->authGroupChat($nextCursor); } }