Commit 23e031cc by 李伟康

commit 增加预发布

1 parent f1cbb825
...@@ -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 = {}) {
......
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
}; };
...@@ -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
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!