2 Star 6 Fork 1

灰是小灰灰的灰/nuxt-simple-template

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.js 1.06 KB
一键复制 编辑 原始数据 按行查看 历史
灰是小灰灰的灰 提交于 2022-07-06 14:04 +08:00 . Initial commit
export default {
// 请求超时时间 默认30s
TIMEOUT : 30 * 1000,
// message notify 的默认显示时间
DURATION : 2000,
// cookie 前缀
COOKIE_PREFIX : 'portal_',
// code 白名单
WHITE_CODE_LIST : [
{
code : 200,
msg : 'success'
}
],
// token 错误
LOGIN_ERROR_CODE : [
{
code : 5004,
msg : '无效token'
}
],
REQUEST_BASE_URL : '',
DOMAIN : '.shadowcreator.com',
// 开发环境接口域名
ENV_PREFIX : 'dev',
DEV_API_URL : 'http://webapi-fat.shadowcreator.com/100061',
SSR_API_URL : 'http://webapi-fat.shadowcreator.com/100061'
// // 开发环境接口域名
// ENV_PREFIX : 'fat',
// DEV_API_URL : 'https://api-fat.qulivr.com/100050',
// SSR_API_URL : 'https://api-fat.qulivr.com/100050'
// // UAT
// ENV_PREFIX : 'uat',
// DEV_API_URL : 'https://api-uat.qulivr.com/100050',
// SSR_API_URL : 'https://api-uat.qulivr.com/100050'
// // PRO
// ENV_PREFIX : 'pro',
// DEV_API_URL : 'https://api.qulivr.com/100050',
// SSR_API_URL : 'https://api.qulivr.com/100050'
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/simmon_page/nuxt-simple-template.git
git@gitee.com:simmon_page/nuxt-simple-template.git
simmon_page
nuxt-simple-template
nuxt-simple-template
main

搜索帮助