Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 23e031cc
authored
Apr 17, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit 增加预发布
1 parent
f1cbb825
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
8 deletions
api/module/userApi.js
env.js
pages/home/home.vue
api/module/userApi.js
View file @
23e031c
...
@@ -11,8 +11,7 @@ module.exports = {
...
@@ -11,8 +11,7 @@ module.exports = {
data
.
projectName
=
'boutique'
data
.
projectName
=
'boutique'
data
.
source
=
'MINIAPP'
data
.
source
=
'MINIAPP'
data
.
productCode
=
'PC00c2'
data
.
productCode
=
'PC00c2'
return
http
.
fetch
(
'dj.api.smartcarlife.sms.login'
,
data
)
return
http
.
fetch
(
'dj.api.smartcarlife.sms.applogin'
,
data
)
// return http.fetch('dj.api.smartcarlife.sms.applogin', data)
},
},
/**免登 */
/**免登 */
autoLogin
(
data
=
{})
{
autoLogin
(
data
=
{})
{
...
...
env.js
View file @
23e031c
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
"preRelease"
];
const
target
=
[
"ip"
,
"dev"
,
"uat"
,
"prod"
,
'beta'
,
"preRelease"
];
const
index
=
2
;
const
index
=
4
;
/**
/**
*
*
0本地
0本地
...
@@ -28,6 +28,12 @@ const secretKey = {
...
@@ -28,6 +28,12 @@ const secretKey = {
secret
:
"02d60f17ae714872845d2aa9d3b087e109ccb0f96130ca4b"
,
secret
:
"02d60f17ae714872845d2aa9d3b087e109ccb0f96130ca4b"
,
},
},
},
},
beta
:{
sso
:
{
appKey
:
"8b31ae1009ccb0f96130ca4bd90e3d89"
,
secret
:
"02d60f17ae714872845d2aa9d3b087e109ccb0f96130ca4b"
,
},
},
preRelease
:
{
preRelease
:
{
sso
:
{
sso
:
{
appKey
:
"8b31ae1009ccb0f96130ca4bd90e3d89"
,
appKey
:
"8b31ae1009ccb0f96130ca4bd90e3d89"
,
...
@@ -116,6 +122,7 @@ const CONFIG_ENV_MAP = {
...
@@ -116,6 +122,7 @@ const CONFIG_ENV_MAP = {
3
:
"production"
,
3
:
"production"
,
4
:
"beta"
,
4
:
"beta"
,
};
};
console
.
log
(
secretKey
,
'==='
)
module
.
exports
=
{
module
.
exports
=
{
index
,
index
,
domain
,
domain
,
...
@@ -124,5 +131,5 @@ module.exports = {
...
@@ -124,5 +131,5 @@ module.exports = {
env
:
CONFIG_ENV_MAP
[
index
],
env
:
CONFIG_ENV_MAP
[
index
],
djDomain
,
djDomain
,
merchantDomain
,
merchantDomain
,
djSecretKey
,
djSecretKey
};
};
pages/home/home.vue
View file @
23e031c
...
@@ -132,7 +132,11 @@
...
@@ -132,7 +132,11 @@
></MessageBox>
></MessageBox>
<update-box
/>
<update-box
/>
<kf-box
ref=
"kfRef"
/>
<kf-box
ref=
"kfRef"
/>
<novice-guide
@
nextStep=
"nextStep"
@
back=
"back"
/>
<novice-guide
@
nextStep=
"nextStep"
@
back=
"back"
/>
</view>
</view>
</template>
</template>
<
script
>
<
script
>
...
@@ -255,8 +259,8 @@ export default {
...
@@ -255,8 +259,8 @@ export default {
openKf
()
{
openKf
()
{
this
.
$refs
.
kfRef
.
open
()
this
.
$refs
.
kfRef
.
open
()
},
},
nextStep
()
{
nextStep
()
{
let
{
id
}
=
this
.
moduleList
[
0
]
let
{
id
}
=
this
.
moduleList
[
0
]
this
.
type
=
'preview'
this
.
type
=
'preview'
this
.
id
=
id
this
.
id
=
id
}
}
...
...
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