mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update
This commit is contained in:
parent
c0b6cd64ba
commit
91393cba71
@ -13,8 +13,12 @@ use App\Models\User;
|
||||
class ServerController extends Controller
|
||||
{
|
||||
public function index (Request $request) {
|
||||
$server = Server::get();
|
||||
for ($i = 0; $i < count($server); $i++) {
|
||||
$server[$i]['tags'] = json_decode($server->tags);
|
||||
}
|
||||
return response([
|
||||
'data' => Server::get()
|
||||
'data' => $server
|
||||
]);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user