Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-boutique-work-wechat
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 6a6353a7
authored
Nov 11, 2024
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Merge branch 'master' into SAAS+V4.46.2-1119
1 parent
e938f7b5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
config.js
config.js
View file @
6a6353a
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
*/
*/
// 配置预发布的小程序aapId
// 配置预发布的小程序aapId
export
const
preReleaseAppId
=
"wx
db25dd43c3e1fc03
"
;
export
const
preReleaseAppId
=
"wx
96c8f2a3e76907cb
"
;
// 小程序id
// 小程序id
export
const
appId
=
"wx570d9331f9ace0bd"
;
export
const
appId
=
"wx570d9331f9ace0bd"
;
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
...
@@ -18,7 +18,7 @@ export const appId = "wx570d9331f9ace0bd";
* 4预发布
* 4预发布
* 5cdptest
* 5cdptest
*/
*/
let
index
=
2
;
let
index
=
1
;
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
systemInfo
=
wx
.
getSystemInfoSync
();
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
const
envName
=
accountInfo
.
miniProgram
.
envVersion
;
...
@@ -30,7 +30,7 @@ const release = false;
...
@@ -30,7 +30,7 @@ const release = false;
// develop:开发版 trial:体验版 release:正式版
// develop:开发版 trial:体验版 release:正式版
if
(
systemInfo
.
platform
!=
"devtools"
)
{
if
(
systemInfo
.
platform
!=
"devtools"
)
{
if
(
accountInfo
.
miniProgram
.
appId
==
preReleaseAppId
)
{
if
(
accountInfo
.
miniProgram
.
appId
==
preReleaseAppId
)
{
index
=
5
;
index
=
4
;
}
else
{
}
else
{
switch
(
envName
)
{
switch
(
envName
)
{
case
"develop"
:
case
"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