mirror of
https://github.com/v2board/v2board.git
synced 2025-06-17 23:27:48 +08:00
update: v2ray char to vmess
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
namespace App\Http\Controllers\Admin\Server;
|
||||
|
||||
use App\Models\ServerV2ray;
|
||||
use App\Models\ServerVmess;
|
||||
use App\Models\ServerShadowsocks;
|
||||
use App\Models\ServerTrojan;
|
||||
use App\Services\ServerService;
|
||||
@ -32,8 +32,8 @@ class ManageController extends Controller
|
||||
abort(500, '保存失败');
|
||||
}
|
||||
break;
|
||||
case 'v2ray':
|
||||
if (!ServerV2ray::find($v['value'])->update(['sort' => $v['sort']])) {
|
||||
case 'vmess':
|
||||
if (!ServerVmess::find($v['value'])->update(['sort' => $v['sort']])) {
|
||||
DB::rollBack();
|
||||
abort(500, '保存失败');
|
||||
}
|
||||
|
Reference in New Issue
Block a user