Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
mini-program
/
points-mall
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 1ecc8c1f
authored
Sep 02, 2025
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
环境修改
1 parent
9eb314ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
api/env/index.js
api/env/index.js
View file @
1ecc8c1
import
{
preReleaseAppId
}
from
'~/config'
import
{
preReleaseAppId
}
from
'~/config'
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
const
target
=
[
'ip'
,
'dev'
,
'uat'
,
'prod'
,
'preRelease'
]
let
index
=
1
let
index
=
2
/**
/**
*
*
...
@@ -15,7 +15,7 @@ const systemInfo = wx.getSystemInfoSync()
...
@@ -15,7 +15,7 @@ const systemInfo = wx.getSystemInfoSync()
// console.log(systemInfo);
// console.log(systemInfo);
// console.log(accountInfo.miniProgram.envVersion)
// console.log(accountInfo.miniProgram.envVersion)
//手动控制体验版环境的请求 true就依据下面index false就默认为2
//手动控制体验版环境的请求 true就依据下面index false就默认为2
const
manual
=
tru
e
const
manual
=
fals
e
const
release
=
false
const
release
=
false
...
...
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