mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update set server copy show default
This commit is contained in:
parent
b6f2a034ec
commit
a45f8e121d
@ -100,6 +100,7 @@ class TrojanController extends Controller
|
||||
public function copy(Request $request)
|
||||
{
|
||||
$server = ServerTrojan::find($request->input('id'));
|
||||
$server->show = 0;
|
||||
if (!$server) {
|
||||
abort(500, '服务器不存在');
|
||||
}
|
||||
|
@ -129,6 +129,7 @@ class V2rayController extends Controller
|
||||
public function copy(Request $request)
|
||||
{
|
||||
$server = Server::find($request->input('id'));
|
||||
$server->show = 0;
|
||||
if (!$server) {
|
||||
abort(500, '服务器不存在');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user