mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 17:49:11 +08:00
update
This commit is contained in:
parent
65fc4bda29
commit
aa760437fa
@ -16,9 +16,9 @@ class ServerController extends Controller
|
|||||||
$server = Server::get();
|
$server = Server::get();
|
||||||
for ($i = 0; $i < count($server); $i++) {
|
for ($i = 0; $i < count($server); $i++) {
|
||||||
if (!empty($server[$i]['tags'])) {
|
if (!empty($server[$i]['tags'])) {
|
||||||
$server[$i]['tags'] = json_decode($server->tags);
|
$server[$i]['tags'] = json_decode($server[$i]['tags']);
|
||||||
}
|
}
|
||||||
$server[$i]['group_id'] = json_decode($server->group_id);
|
$server[$i]['group_id'] = json_decode($server[$i]['group_id']);
|
||||||
}
|
}
|
||||||
return response([
|
return response([
|
||||||
'data' => $server
|
'data' => $server
|
||||||
|
Loading…
Reference in New Issue
Block a user