Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
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 97843d00
authored
Sep 21, 2023
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
配置更改
1 parent
1d5683df
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
utils/request/environment.js
utils/request/environment.js
View file @
97843d0
import
{
preReleaseAppId
}
from
'~/config'
import
{
preReleaseAppId
}
from
'~/config'
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
// const mockObj = {
// test: 'https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=business-assistant-config&env=test',
// product: 'https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=business-assistant-config&env=production'
// }
const
mockObj
=
{
const
mockObj
=
{
test
:
'https://
oss-config.dev.glsx.com.cn/mock/63fd6c2034c4d918e2f4df4d/config
'
,
test
:
'https://
config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=business-assistant-config&env=test
'
,
product
:
'https://
oss-config.test.glsx.com.cn/mock/63ff0b507dc47c4edc786e82/config
'
product
:
'https://
config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=business-assistant-config&env=production
'
}
}
// const mockObj = {
// test: 'https://oss-config.dev.glsx.com.cn/mock/63fd6c2034c4d918e2f4df4d/config',
// product: 'https://oss-config.test.glsx.com.cn/mock/63ff0b507dc47c4edc786e82/config'
// }
const
h5Obj
=
{
const
h5Obj
=
{
test
:
'https://dj.test.glsx.com.cn/dj-car-revenue-analysis/#/'
,
test
:
'https://dj.test.glsx.com.cn/dj-car-revenue-analysis/#/'
,
product
:
'https://dj.glsx.com.cn/dj-car-revenue-analysis/#/'
product
:
'https://dj.glsx.com.cn/dj-car-revenue-analysis/#/'
...
@@ -29,7 +29,7 @@ const systemInfo = wx.getSystemInfoSync()
...
@@ -29,7 +29,7 @@ const systemInfo = wx.getSystemInfoSync()
const
manual
=
false
const
manual
=
false
const
release
=
false
const
release
=
false
let
index
=
3
let
index
=
1
// 判断小程序环境
// 判断小程序环境
// develop:开发版(正常开发工具,测试时)
// develop:开发版(正常开发工具,测试时)
...
...
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