|
|
@@ -107,7 +107,7 @@ export default {
|
|
|
return false
|
|
|
}
|
|
|
uni.setStorageSync('token', subRes.data.token)
|
|
|
- uni.setStorageSync('shopId', subRes.data.admin.currentHdShopId)
|
|
|
+ uni.setStorageSync('shopId', subRes.data.admin.currentShopId)
|
|
|
getDictionaries({ token: subRes.data.token }).then(res => {
|
|
|
if (that.$util.isEmpty(res)) {
|
|
|
return false
|
|
|
@@ -172,7 +172,7 @@ export default {
|
|
|
return false
|
|
|
}
|
|
|
uni.setStorageSync('token', subRes.data.token)
|
|
|
- uni.setStorageSync('shopId', subRes.data.admin.currentHdShopId)
|
|
|
+ uni.setStorageSync('shopId', subRes.data.admin.currentShopId)
|
|
|
getDictionaries({ token: subRes.data.token }).then(res => {
|
|
|
if (that.$util.isEmpty(res)) {
|
|
|
return false
|
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
return false
|
|
|
}
|
|
|
uni.setStorageSync('token', subRes.data.token)
|
|
|
- uni.setStorageSync('shopId', subRes.data.admin.currentHdShopId)
|
|
|
+ uni.setStorageSync('shopId', subRes.data.admin.currentShopId)
|
|
|
getDictionaries({ token: subRes.data.token }).then(res => {
|
|
|
if (that.$util.isEmpty(res)) {
|
|
|
return false
|