project init

This commit is contained in:
zxy
2024-02-02 10:24:54 +08:00
commit 21a84c3035
253 changed files with 25212 additions and 0 deletions

23
config/env.js Normal file
View File

@@ -0,0 +1,23 @@
let baseUrl = '';
const env = process.env
if (env.NODE_ENV == 'development') {
if (env.VUE_APP_PLATFORM === 'mp-weixin') {
baseUrl = `https://testapi.jlhrms.cn`; // 开发环境地址
}
} else if (env.NODE_ENV == 'production') {
if (env.VUE_APP_PLATFORM === 'mp-weixin') {
baseUrl = `https://wxapi.jlhrms.cn`; //生产环境地址
}
} else if (env.NODE_ENV == 'test') {
if (env.VUE_APP_PLATFORM === 'mp-weixin') {
baseUrl = `https://testapi.jlhrms.cn`; //测试环境地址
} {
baseUrl = ``; //测试环境地址
}
}
export {
baseUrl,
env
}

19
config/website.js Normal file
View File

@@ -0,0 +1,19 @@
/**
* 全局配置文件
*/
export default {
title: 'jobslink',
logo: 'S',
key: 'jobslink', //配置主键,目前用于存储
indexTitle: 'Jobslink Admin',
clientId: 'jobslink_clientA', // 客户端id
clientSecret: 'jobslink_clientA_secret', // 客户端密钥
tenantMode: true, // 是否开启租户模式
tenantId: '000000', // 管理组租户编号
captchaMode: true, // 是否开启验证码模式
tokenName: 'Jobslink-Auth',
tokenTime: 3000,
newsRefreshTime:600000,// 消息刷新时间
//http的status默认放行不才用统一处理的,
statusWhiteList: [],
}