request->params([ [ 'id', '' ], [ 'name', '' ] ]); return success(( new DiyService() )->getInfo($params)); } /** * 底部菜单信息 * @return Response */ public function tabbar() { return success(( new DiyConfigService() )->getBottomConfig()); } /** * 分享内容 * @return Response */ public function share() { $data = $this->request->params([ [ 'route', '' ], [ 'params', '' ] ]); return success(( new DiyRouteService() )->getShare($data)); } }