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("我是会员");
             }
         }