mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
修改部分类注释
This commit is contained in:
@@ -29,7 +29,7 @@ trait Jump
|
||||
* @param string $url 跳转的URL地址
|
||||
* @param mixed $data 返回的数据
|
||||
* @param integer $wait 跳转等待时间
|
||||
* @return void
|
||||
* @return array
|
||||
*/
|
||||
public function success($msg = '', $url = null, $data = '', $wait = 3)
|
||||
{
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
|
||||
namespace traits\think;
|
||||
|
||||
use \think\Exception;
|
||||
|
||||
trait Instance
|
||||
{
|
||||
protected static $instance = null;
|
||||
@@ -37,7 +39,7 @@ trait Instance
|
||||
if (0 === strpos($method, '_') && is_callable([self::$instance, $call])) {
|
||||
return call_user_func_array([self::$instance, $call], $params);
|
||||
} else {
|
||||
throw new \think\Exception("not exists method:" . $method);
|
||||
throw new Exception("not exists method:" . $method);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user