dataLists(new TeamUserLists()); } /** * @notes 团队首页数据 * @return Json * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException * @author BD * @date 2024/02/22 10:54 */ public function index() { $params = $this->request->get(); $params['user_id'] = $this->userId; $params['host'] = Request::header('origin'); $result = TeamLogic::getIndexData($params); return $this->data($result); } /** * @notes 团队首页数据2 * @return Json * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException * @author BD * @date 2024/02/22 10:54 */ public function indexReport() { $params = $this->request->get(); $params['user_id'] = $this->userId; $result = TeamLogic::getIndexReport($params); return $this->data($result); } }