getList([ ['type', '=', 'app'] ]); if (count($apps) == 1) { $key = $apps[ 0 ][ 'key' ]; } } return (new CoreDiyConfigService())->getBottomConfig($key); } /** * 获取启动页配置 * @return array */ public function getStartUpPageConfig($type) { return (new CoreDiyConfigService())->getStartUpPageConfig($type); } }