Skema pemodelan data lokal untuk katalog permainan 777r.
JavaScript
// Konfigurasi objek data lokal katalog permainan 777r
const localCatalogConfig = {
platform: "777r",
domain: "777rapk.com",
catalog: [
{ id: "133", name: "Songkran Spl", category: "Permainan Slot" },
{ id: "141", name: "Ninja Raccoon", category: "Permainan Slot" },
{ id: "174", name: "Dead Man Riches", category: "Permainan Slot" },
{ id: "118", name: "Lucky Piggy", category: "Permainan Slot" },
{ id: "098", name: "Mermaid Riches", category: "Permainan Slot" }
],
supportStatus: "active"
};
function getGameInfo(gameId) {
return localCatalogConfig.catalog.find(item => item.id === gameId) || null;
}
JSON
{
"platform": "777r",
"domain": "777rapk.com",
"catalog": [
{
"id": "133",
"name": "Songkran Spl",
"category": "Permainan Slot"
},
{
"id": "141",
"name": "Ninja Raccoon",
"category": "Permainan Slot"
},
{
"id": "174",
"name": "Dead Man Riches",
"category": "Permainan Slot"
},
{
"id": "118",
"name": "Lucky Piggy",
"category": "Permainan Slot"
},
{
"id": "098",
"name": "Mermaid Riches",
"category": "Permainan Slot"
}
],
"supportStatus": "active"
}