| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- /**
- * 全局配置文件
- */
- export default {
- title: "saber",
- logo: "",
- key: 'saber',//配置主键,目前用于存储
- indexTitle: '科德咨询',
- clientId: 'saber', // 客户端id
- clientSecret: 'saber_secret', // 客户端密钥
- tenantMode: true, // 是否开启租户模式
- tenantId: "000000", // 管理组租户编号
- captchaMode: false, // 是否开启验证码模式
- switchMode: false, // 是否开启登录切换角色部门
- lockPage: '/lock',
- tokenTime: 3000,
- tokenHeader: 'kd-auth',
- //http的status默认放行列表
- statusWhiteList: [],
- //配置首页不可关闭
- isFirstPage: false,
- fistPage: {
- label: "首页",
- value: "/wel/index",
- params: {},
- query: {},
- meta: {
- i18n: 'dashboard'
- },
- group: [],
- close: false
- },
- //配置菜单的属性
- menu: {
- iconDefault: 'iconfont icon-caidan',
- props: {
- label: 'name',
- path: 'path',
- icon: 'source',
- children: 'children'
- }
- },
- //oauth2配置
- oauth2: {
- // 是否开启注册功能
- registerMode: true,
- // 使用后端工程 @org.springblade.test.Sm2KeyGenerator 获取
- publicKey: '041283c3cff7c97b1b2ce9bae5754a25878b2bd254ebf0613db364db740ef0cf459af9db50a4434d2f36a49cee43e3457a828bc9a7eee331673f1dd6a3fa2c8b88',
- // 第三方系统授权地址
- authUrl: 'http://localhost/kd-auth/oauth/render',
- // 单点登录系统认证
- ssoMode: false, // 是否开启单点登录功能
- ssoBaseUrl: 'http://localhost:8100', // 单点登录系统地址(cloud端口为8100,boot端口为80)
- ssoAuthUrl: '/oauth/authorize?client_id=saber&response_type=code&redirect_uri=', // 单点登录授权地址
- ssoLogoutUrl: '/oauth/authorize/logout?redirect_uri=', // 单点登录退出地址
- redirectUri: 'http://localhost:1888', // 单点登录回调地址(Saber服务的登录界面地址)
- },
- design: {
- // 报表设计器地址(cloud端口为8108,boot端口为80)
- reportUrl: 'http://localhost:8108/ureport',
- },
- }
|