make(WorkGroupTemplateServices::class); return $service->batch((int)$id, $userId, (int)$count); } /** * 获取群发成员发送任务列表 * @param $type * @param $msgid * @param $cursor * @return mixed */ public function getTaks($type, $msgid, $cursor) { /** @var WorkGroupMsgTaskServices $service */ $service = app()->make(WorkGroupMsgTaskServices::class); return $service->getTaks($type, $msgid, $cursor); } /** * @param $type * @param $userid * @param $msgid * @param $cursor * @return bool */ public function getSendResult($type, $userid, $msgid, $cursor) { /** @var WorkGroupMsgSendResultServices $service */ $service = app()->make(WorkGroupMsgSendResultServices::class); return $service->getSendResult($type, $userid, $msgid, $cursor); } }