xiaogang 4 년 전
부모
커밋
c3ecea85ce
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/Services/HomeService.php

+ 2 - 0
app/Services/HomeService.php

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