瀏覽代碼

取消客服vip条件

3860082966@qq.com 2 周之前
父節點
當前提交
fb86f0c1ae

+ 9 - 9
projects/live-app/src/modules/tabs/my/my.component.ts

@@ -243,15 +243,15 @@ export class MyComponent implements OnInit {
   }
 
   async toUrlService(url: string){
-    if(!this.accServ.userVip?.rights?.['vip-service']){
-      const toast = await this.toastController.create({
-        message: '高级会员专享服务',
-        color: 'warning',
-        duration: 1500,
-      });
-      toast.present();
-      return
-    }
+    // if(!this.accServ.userVip?.rights?.['vip-service']){
+    //   const toast = await this.toastController.create({
+    //     message: '高级会员专享服务',
+    //     color: 'warning',
+    //     duration: 1500,
+    //   });
+    //   toast.present();
+    //   return
+    // }
     this.router.navigate([url]);
   }
 

+ 9 - 9
projects/live-app/src/modules/tabs/notice/notice.component.ts

@@ -136,15 +136,15 @@ export class NoticeComponent implements OnInit {
   }
   async toUrlService(url: string){
     if (this.showModal) return;
-    if(!this.accServ.userVip?.rights?.['vip-service']){
-      const toast = await this.toastController.create({
-        message: '高级会员专享服务',
-        color: 'warning',
-        duration: 1500,
-      });
-      toast.present();
-      return
-    }
+    // if(!this.accServ.userVip?.rights?.['vip-service']){
+    //   const toast = await this.toastController.create({
+    //     message: '高级会员专享服务',
+    //     color: 'warning',
+    //     duration: 1500,
+    //   });
+    //   toast.present();
+    //   return
+    // }
     this.router.navigate([url]);
   }
   async download() {