Authored by huangyi

更新getUid 改为getUser

... ... @@ -123,8 +123,8 @@ export default {
getUser: function () {
return new Promise(function (resolve) {
let obj = {
sessionType: cookies.cookie('app_client_type') || '',
appVersion: cookies.cookie('app_version') || ''
sessionType: cookies.cookie('app_client_type') || getQueryObj().app_client_type || '',
appVersion: cookies.cookie('app_version') || getQueryObj().app_version || ''
}
if (env === 'h5' || env === 'pc') {
jsonp('//m.yohobuy.com/passport/login/user').then(r => {
... ...