...
|
...
|
@@ -81,7 +81,7 @@ export default { |
|
|
uid: async function () {
|
|
|
let result = await jsonp('https://m.yohobuy.com/passport/login/user');
|
|
|
if (result.code === 200)
|
|
|
return result.data;
|
|
|
return Number(result.data);
|
|
|
else if (env === 'app' || env === 'miniprogram')
|
|
|
return Number(cookies.cookie('app_uid')) || Number(getQueryObj().uid) || 0;
|
|
|
else
|
...
|
...
|
|