新增动态代理

This commit is contained in:
JaguarJack 2021-05-09 17:09:18 +08:00
parent 4f1eeae989
commit ed0521dc92

View File

@ -124,4 +124,17 @@ class Search
{ {
return Form::{$method}(...$params); return Form::{$method}(...$params);
} }
/**
* 代理方法
*
* @time 2021年04月06日
* @param $method
* @param $params
* @return mixed
*/
public function __call($method, $params)
{
return Form::{$method}(...$params);
}
} }