Commit 2f69536d by 程默

fix

parent 6a650ddb
...@@ -4,6 +4,5 @@ var prodEnv = require('./prod.env') ...@@ -4,6 +4,5 @@ var prodEnv = require('./prod.env')
module.exports = merge(prodEnv, { module.exports = merge(prodEnv, {
NODE_ENV: '"development"', NODE_ENV: '"development"',
APPID:'"wx743dc2f4adb9cf01"',
OLSHOP_URL:'"https://test-m-shop.mayi888.cn/innerApi/shopApiService"' OLSHOP_URL:'"https://test-m-shop.mayi888.cn/innerApi/shopApiService"'
}) })
...@@ -128,7 +128,7 @@ export default { ...@@ -128,7 +128,7 @@ export default {
}); });
} else { } else {
var data = wx_decode( var data = wx_decode(
process.env.APPID, this.appid,
this.session_key, this.session_key,
e.mp.detail.encryptedData, e.mp.detail.encryptedData,
e.mp.detail.iv e.mp.detail.iv
...@@ -174,7 +174,7 @@ export default { ...@@ -174,7 +174,7 @@ export default {
if (e.target.errMsg == "getPhoneNumber:ok") { if (e.target.errMsg == "getPhoneNumber:ok") {
// this.isShowPhone = false; // this.isShowPhone = false;
this.phoneNumber = wx_decode( this.phoneNumber = wx_decode(
process.env.APPID, this.appid,
this.session_key, this.session_key,
e.mp.detail.encryptedData, e.mp.detail.encryptedData,
e.mp.detail.iv + "" e.mp.detail.iv + ""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment