diff --git a/src/store/index.js b/src/store/index.js index d5a4355..2f47282 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -7,7 +7,8 @@ export default createStore({ // 数据源 state: { userAccount: { - xglOpenId: 'o9B_fvjtyh2KELQYc2t9A3MEh7JQ', //用户openid + // xglOpenId: 'o9B_fvjtyh2KELQYc2t9A3MEh7JQ', //用户openid + xglOpenId: h5plugin.getQueryString('openid'), //用户openid token: h5plugin.getQueryString('token'), //用户token cardId: h5plugin.getQueryString('cardId'), //carid nkh: '', //牛卡号