修改部分类注释

This commit is contained in:
trojanbox
2016-05-30 18:35:19 +08:00
parent 6858abef7c
commit 2f5db5f222
3 changed files with 4 additions and 5 deletions

View File

@@ -57,12 +57,10 @@ abstract class Rest
/**
* REST 调用
* @access public
*
* @param string $method 方法名
* @param array $args 参数
*
* @return mixed
* @throws \think\Exception
* @throws \Exception
*/
public function _empty($method, $args)
{
@@ -88,7 +86,7 @@ abstract class Rest
* @param mixed $data 要返回的数据
* @param String $type 返回类型 JSON XML
* @param integer $code HTTP状态
* @return void
* @return Response
*/
protected function response($data, $type = 'json', $code = 200)
{