xiaogang il y a 4 ans
Parent
commit
695d12784d
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      app/Services/HomeService.php

+ 2 - 0
app/Services/HomeService.php

xqd
@@ -61,6 +61,8 @@ class HomeService
     public function user_detail($user_id){
         $user = auth('api')->user();
 
+        throw new Exception("2222");
+
         //判断逛一逛用户和非会员用户
         if(!$user){
             throw new AuthException("请先登录");