【类 型】:
【原 因】: 【过 程】: 【影 响】:
This commit is contained in:
parent
aa357b53d2
commit
af7bd357a3
@ -1174,7 +1174,6 @@ class PlaneController extends PublicController
|
||||
'sprite' => $_REQUEST['sprite'] ?? '',
|
||||
'glyphs' => $_REQUEST['glyphs'] ?? 'mapbox://fonts/mapbox/{fontstack}/{range}.pbf',
|
||||
'url' => is_array($_REQUEST['url']) ? current($_REQUEST['url']) : $_REQUEST['url'],
|
||||
'tiles' => json_encode([is_array($_REQUEST['url']) ? current($_REQUEST['url']) : $_REQUEST['url']]), // 保持向后兼容
|
||||
'is_active' => isset($_REQUEST['is_active']) ? intval($_REQUEST['is_active']) : 1,
|
||||
'sort_order' => isset($_REQUEST['sort_order']) ? intval($_REQUEST['sort_order']) : 0
|
||||
];
|
||||
|
Loading…
Reference in New Issue
Block a user