This commit is contained in:
wangyidong
2019-10-22 10:21:49 +08:00
parent a5316c5667
commit d6d649bdb4
3 changed files with 22 additions and 5 deletions
+11 -1
View File
@@ -38,6 +38,15 @@ class router extends baseRouter
*/
public $rawMethod;
/**
* 请求的原始方法名。
* The requested params parsed from a URL.
*
* @var array
* @access public
*/
public $rawParams;
/**
* 标记是否是工作流
* Whether the tag is a workflow
@@ -479,6 +488,7 @@ class router extends baseRouter
/* The display parameter is used to mark whether the request comes from the card display page of the ZenTao client. It should be deleted here to avoid affecting the method call. */
unset($passedParams['display']);
return parent::mergeParams($defaultParams, $passedParams);
$this->rawParams = parent::mergeParams($defaultParams, $passedParams);
return $this->rawParams;
}
}