|
@@ -57,7 +57,7 @@ export function catchError(promise) {
|
|
export function getUserIdentity() {
|
|
export function getUserIdentity() {
|
|
const auth = cacheManager.get('auth');
|
|
const auth = cacheManager.get('auth');
|
|
if (auth) {
|
|
if (auth) {
|
|
- if (auth.cardList.some(item => item === auth.catdId)) {
|
|
|
|
|
|
+ if (auth.cardList.some(item => item === auth.cardId)) {
|
|
// VIP
|
|
// VIP
|
|
return 'VIP'
|
|
return 'VIP'
|
|
}
|
|
}
|