Commit 23e031cc by 李伟康

commit 增加预发布

1 parent f1cbb825
......@@ -11,8 +11,7 @@ module.exports = {
data.projectName = 'boutique'
data.source = 'MINIAPP'
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 = {}) {
......
const target = ["ip", "dev", "uat", "prod", "preRelease"];
const index = 2;
const target = ["ip", "dev", "uat", "prod", 'beta', "preRelease"];
const index = 4;
/**
*
0本地
......@@ -28,6 +28,12 @@ const secretKey = {
secret: "02d60f17ae714872845d2aa9d3b087e109ccb0f96130ca4b",
},
},
beta:{
sso: {
appKey: "8b31ae1009ccb0f96130ca4bd90e3d89",
secret: "02d60f17ae714872845d2aa9d3b087e109ccb0f96130ca4b",
},
},
preRelease: {
sso: {
appKey: "8b31ae1009ccb0f96130ca4bd90e3d89",
......@@ -116,6 +122,7 @@ const CONFIG_ENV_MAP = {
3: "production",
4: "beta",
};
console.log(secretKey, '===')
module.exports = {
index,
domain,
......@@ -124,5 +131,5 @@ module.exports = {
env: CONFIG_ENV_MAP[index],
djDomain,
merchantDomain,
djSecretKey,
djSecretKey
};
......@@ -132,7 +132,11 @@
></MessageBox>
<update-box />
<kf-box ref="kfRef" />
<novice-guide @nextStep="nextStep" @back="back" />
<novice-guide
@nextStep="nextStep"
@back="back"
/>
</view>
</template>
<script>
......@@ -255,8 +259,8 @@ export default {
openKf () {
this.$refs.kfRef.open()
},
nextStep(){
let {id} = this.moduleList[0]
nextStep () {
let { id } = this.moduleList[0]
this.type = 'preview'
this.id = id
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!