xiaogang 4 years ago
parent
commit
c3ecea85ce
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Services/HomeService.php

+ 2 - 0
app/Services/HomeService.php

@@ -78,6 +78,8 @@ class HomeService
                         UserVipLimit::query()->where('user_id',$user->id)->increment('user_detail',1);
                         UserVipLimit::query()->where('user_id',$user->id)->increment('user_detail',1);
                     }
                     }
                 }
                 }
+            }else{
+                throw new Exception("我是会员");
             }
             }
         }
         }