添加后台代理代码

This commit is contained in:
2026-03-15 01:27:05 +08:00
parent 11f9ac4dc1
commit ea08c9366a
5254 changed files with 721042 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
use phprs\ezsql\Sql;
class Message{
public function __construct($msg){
$this->msg = $msg;
}
public $msg;
}
/**
*
* @author caoym
* @path("/hw")
*/
class HelloWorld
{
/**
* @route({"GET","/"})
*/
public function doSomething1() {
return new Message('Hello World!');
}
/**
* @property({"default":"@db"}) 注入pdo实例
*/
//private $db;
}