mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 23:02:48 +08:00
修改部分类注释
This commit is contained in:
@@ -88,6 +88,7 @@ class Response
|
|||||||
* @access public
|
* @access public
|
||||||
* @param mixed $data 数据
|
* @param mixed $data 数据
|
||||||
* @return mixed
|
* @return mixed
|
||||||
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
public function send($data = [])
|
public function send($data = [])
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -57,12 +57,10 @@ abstract class Rest
|
|||||||
/**
|
/**
|
||||||
* REST 调用
|
* REST 调用
|
||||||
* @access public
|
* @access public
|
||||||
*
|
|
||||||
* @param string $method 方法名
|
* @param string $method 方法名
|
||||||
* @param array $args 参数
|
* @param array $args 参数
|
||||||
*
|
|
||||||
* @return mixed
|
* @return mixed
|
||||||
* @throws \think\Exception
|
* @throws \Exception
|
||||||
*/
|
*/
|
||||||
public function _empty($method, $args)
|
public function _empty($method, $args)
|
||||||
{
|
{
|
||||||
@@ -88,7 +86,7 @@ abstract class Rest
|
|||||||
* @param mixed $data 要返回的数据
|
* @param mixed $data 要返回的数据
|
||||||
* @param String $type 返回类型 JSON XML
|
* @param String $type 返回类型 JSON XML
|
||||||
* @param integer $code HTTP状态
|
* @param integer $code HTTP状态
|
||||||
* @return void
|
* @return Response
|
||||||
*/
|
*/
|
||||||
protected function response($data, $type = 'json', $code = 200)
|
protected function response($data, $type = 'json', $code = 200)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -128,7 +128,7 @@ abstract class Connection
|
|||||||
* 创建指定模型的查询对象
|
* 创建指定模型的查询对象
|
||||||
* @access public
|
* @access public
|
||||||
* @param string $model 模型类名称
|
* @param string $model 模型类名称
|
||||||
* @return \think\Query
|
* @return \think\db\Query
|
||||||
*/
|
*/
|
||||||
public function model($model)
|
public function model($model)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user