Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -53,7 +53,7 @@ class ImmerseController extends Controller | ... | @@ -53,7 +53,7 @@ class ImmerseController extends Controller |
53 | 53 | ||
54 | $user_id = $request->user()->id; | 54 | $user_id = $request->user()->id; |
55 | $user_profile = UserProfile::query()->where('user_id', $user_id)->first(); | 55 | $user_profile = UserProfile::query()->where('user_id', $user_id)->first(); |
56 | - if ($user_profile->is_vip == UserProfile::NO_VIP || $user_profile->video_count > 5) { | 56 | + if ($user_profile->is_vip == UserProfile::NO_VIP && $user_profile->video_count > 5) { |
57 | return Response::fail("非VIP用户最多发布5个视频"); | 57 | return Response::fail("非VIP用户最多发布5个视频"); |
58 | } | 58 | } |
59 | 59 | ... | ... |
-
Please register or login to post a comment