|
|
@ -669,8 +669,10 @@ export default { |
|
|
|
try { |
|
|
|
try { |
|
|
|
const { data } = await getCopyrightInfo(); |
|
|
|
const { data } = await getCopyrightInfo(); |
|
|
|
uni.setStorageSync('openMember', data.is_open_member); |
|
|
|
uni.setStorageSync('openMember', data.is_open_member); |
|
|
|
|
|
|
|
uni.setStorageSync('showWeixinLogin', data.is_show_weixin_login); |
|
|
|
} catch (err) { |
|
|
|
} catch (err) { |
|
|
|
uni.setStorageSync('openMember', 0); |
|
|
|
uni.setStorageSync('openMember', 0); |
|
|
|
|
|
|
|
uni.setStorageSync('showWeixinLogin', 0); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
getPositionAddress(longitude, latitude,) { |
|
|
|
getPositionAddress(longitude, latitude,) { |
|
|
|