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