root 5 năm trước cách đây
mục cha
commit
fd3c01e523
2 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      app/Http/Controllers/InviteController.php
  2. 0 0
      public/p__tutorial.async.js

+ 1 - 1
app/Http/Controllers/InviteController.php

@@ -12,7 +12,7 @@ use App\Utils\Helper;
 class InviteController extends Controller
 {
     public function save (Request $request) {
-        if (InviteCode::where('user_id', $request->session()->get('id'))->where('status', 0)->count() >= 5) {
+        if (InviteCode::where('user_id', $request->session()->get('id'))->where('status', 0)->count() >= config('v2board.invite_gen_limit', 5)) {
             abort(500, '已达到创建数量上限');
         }
         $inviteCode = new InviteCode();

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 0 - 0
public/p__tutorial.async.js


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác