Beispiel #1
0
function method_get()
{
    echo 'GET请求';
    APP::dump($_GET);
    APP::dump(SQL::getAll('show tables'));
    APP::dump(SQL::getAll('show databases'));
    APP::dump(SQL::getAll('select 1+1 as a'));
    // 渲染模板
    APP::template('test.html');
}
Beispiel #2
0
function method_get()
{
    echo 'GET请求';
    APP::template('test.html');
}