sn
This commit is contained in:
parent
4273fd0d41
commit
dd535ad374
@ -72,7 +72,7 @@
|
|||||||
} else {
|
} else {
|
||||||
if (str.includes("storeId")) {
|
if (str.includes("storeId")) {
|
||||||
storeId = str.split("=")[1]
|
storeId = str.split("=")[1]
|
||||||
}else if(str.includes("sn")){
|
} else if (str.includes("sn")) {
|
||||||
sn = str.split("=")[1]
|
sn = str.split("=")[1]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -409,7 +409,7 @@
|
|||||||
// this.getAddress();
|
// this.getAddress();
|
||||||
uni.getSetting({
|
uni.getSetting({
|
||||||
success(res) {
|
success(res) {
|
||||||
if (res.authSetting['scope.userLocation']==false) {
|
if (res.authSetting['scope.userLocation'] == false) {
|
||||||
// uni.clearStorageSync();
|
// uni.clearStorageSync();
|
||||||
// _this.getStorageSize()
|
// _this.getStorageSize()
|
||||||
|
|
||||||
@ -443,7 +443,7 @@
|
|||||||
success(res) {
|
success(res) {
|
||||||
if (res.confirm) {
|
if (res.confirm) {
|
||||||
uni.openSetting({
|
uni.openSetting({
|
||||||
success(res){
|
success(res) {
|
||||||
console.log("打开设置成功", res);
|
console.log("打开设置成功", res);
|
||||||
if (res.authSetting['scope.userLocation']) {
|
if (res.authSetting['scope.userLocation']) {
|
||||||
console.log('成功授权userLocation')
|
console.log('成功授权userLocation')
|
||||||
@ -454,7 +454,7 @@
|
|||||||
that.showRefuseLocationPermission()
|
that.showRefuseLocationPermission()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail(err){
|
fail(err) {
|
||||||
console.log("打开设置失败", err)
|
console.log("打开设置失败", err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
@ -92,7 +92,8 @@
|
|||||||
},
|
},
|
||||||
}).then((resp) => {
|
}).then((resp) => {
|
||||||
if (resp.code == 200) {
|
if (resp.code == 200) {
|
||||||
console.log(uni.getStorageSync("y_type"),uni.getStorageSync("y_userId"));
|
console.log(uni.getStorageSync("y_type"), uni
|
||||||
|
.getStorageSync("y_userId"));
|
||||||
if (uni.getStorageSync("y_type") ==
|
if (uni.getStorageSync("y_type") ==
|
||||||
'yaoqingyouli') {
|
'yaoqingyouli') {
|
||||||
_this.activeRecommendRecords()
|
_this.activeRecommendRecords()
|
||||||
|
@ -325,8 +325,7 @@
|
|||||||
oilCardAmountSale: this.oilCardRedece,
|
oilCardAmountSale: this.oilCardRedece,
|
||||||
ifLogin: this.ifLogin,
|
ifLogin: this.ifLogin,
|
||||||
levelAmount: this.levelAmount,
|
levelAmount: this.levelAmount,
|
||||||
activeAmount: this.activeAmount,
|
activeAmount: this.activeAmount
|
||||||
sn
|
|
||||||
};
|
};
|
||||||
let _this = this;
|
let _this = this;
|
||||||
request({
|
request({
|
||||||
|
Loading…
Reference in New Issue
Block a user