Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
ww-login
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c5009072
authored
Apr 30, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
简化了环境配置文件结构,提高了代码安全性
1 parent
b1101975
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
16 deletions
src/config/env.production.js
src/config/env.staging.js
src/config/env.production.js
View file @
c500907
module
.
exports
=
{
module
.
exports
=
{
title
:
'嘀加企微助手'
,
request
:
{
// baseURL: 'http://ghwx.cgacar.com/scrm-wechat' // 生产
baseURL
:
'http://cim.chinagrandauto.com/scrm-wechat'
// 生产
// baseURL: 'http://cim.chinagrandauto.com' // 生产
},
APPID
:
'xxx'
,
APPSECRET
:
'xxx'
,
cdn
:
'https://www.xxx.cn/static'
}
}
\ No newline at end of file
\ No newline at end of file
src/config/env.staging.js
View file @
c500907
module
.
exports
=
{
module
.
exports
=
{
title
:
'嘀加企微助手'
,
request
:
{
baseURL
:
'http://xxxxx'
// 项目地址
},
APPID
:
'xxx'
,
APPSECRET
:
'xxx'
,
cdn
:
'https://www.xxx.cn/static'
}
}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment