Commit aeaead04 by liangjianmin

css

parent a81c6c73
Showing with 5 additions and 1 deletions
......@@ -51,6 +51,8 @@ export default {
if (data.err_code === 0) {
uni.setStorageSync('openid', data.data.openid);
uni.setStorageSync('session_key', data.data.session_key);
uni.setStorageSync('unionid', data.data.unionid);
uni.navigateTo({
url: '/pages/mine/login'
});
......
......@@ -55,6 +55,7 @@ export default {
let openid = uni.getStorageSync('openid');
let session_key = uni.getStorageSync('session_key');
let unionid = uni.getStorageSync('unionid');
this.request(
API.Login,
'POST',
......@@ -62,7 +63,8 @@ export default {
account: this.account,
pwd: this.pwd,
openid: openid,
session_key: session_key
session_key: session_key,
unionid: unionid
},
true
).then(res => {
......
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 sign in to comment