mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
修正request类dispatch方法bug
This commit is contained in:
@@ -440,7 +440,7 @@ class Request
|
|||||||
*/
|
*/
|
||||||
public static function dispatch($dispatch = [])
|
public static function dispatch($dispatch = [])
|
||||||
{
|
{
|
||||||
if (!empty($type)) {
|
if (!empty($dispatch)) {
|
||||||
self::$dispatch = $dispatch;
|
self::$dispatch = $dispatch;
|
||||||
}
|
}
|
||||||
return self::$dispatch;
|
return self::$dispatch;
|
||||||
|
|||||||
Reference in New Issue
Block a user