Initial commit: 投注游戏平台初始化
This commit is contained in:
Executable
+10
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
class ApiController {
|
||||
public function data() {
|
||||
$db = Database::get();
|
||||
$data = $db->select('sample_table', '*');
|
||||
header('Content-Type: application/json');
|
||||
echo json_encode($data);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user