新增facade方法注释,以便用户访问
This commit is contained in:
parent
bfc576b437
commit
b7d951bdb7
@ -3,6 +3,22 @@ namespace catcher\facade;
|
|||||||
|
|
||||||
use think\Facade;
|
use think\Facade;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @method static \catcher\library\client\Http headers(array $headers)
|
||||||
|
* @method static \catcher\library\client\Http body($body)
|
||||||
|
* @method static \catcher\library\client\Http json(array $data)
|
||||||
|
* @method static \catcher\library\client\Http query(array $query)
|
||||||
|
* @method static \catcher\library\client\Http form(array $params)
|
||||||
|
* @method static \catcher\library\client\Http timeout($timeout)
|
||||||
|
* @method static \catcher\library\client\Http get(string $url)
|
||||||
|
* @method static \catcher\library\client\Http post(string $url)
|
||||||
|
* @method static \catcher\library\client\Http put(string $url)
|
||||||
|
* @method static \catcher\library\client\Http delete(string $url)
|
||||||
|
* @method static \catcher\library\client\Http token(string $token)
|
||||||
|
* @method static \catcher\library\client\Http attach($name, $resource, $filename)
|
||||||
|
*
|
||||||
|
* @time 2020年05月22日
|
||||||
|
*/
|
||||||
class Http extends Facade
|
class Http extends Facade
|
||||||
{
|
{
|
||||||
protected static function getFacadeClass()
|
protected static function getFacadeClass()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user