修正几处BUG

This commit is contained in:
thinkphp
2016-06-28 17:05:47 +08:00
parent 25ad8a61f3
commit 802ead16a8
3 changed files with 3 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ class App
* @param array $params 参数
* @return void
*/
public static function dispatch($dispath, $type = 'module', $params = [])
public static function dispatch($dispatch, $type = 'module', $params = [])
{
self::$dispatch = ['type' => $type, $type => $dispatch, 'params' => $params];
}