xiaogang %!s(int64=4) %!d(string=hai) anos
pai
achega
c3ecea85ce
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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("我是会员");
             }
         }