mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
配置参数调整
This commit is contained in:
@@ -84,7 +84,7 @@ return [
|
|||||||
// 是否自动转换URL中的操作名
|
// 是否自动转换URL中的操作名
|
||||||
'url_action_convert' => true,
|
'url_action_convert' => true,
|
||||||
// 表单请求类型伪装变量
|
// 表单请求类型伪装变量
|
||||||
'method_var' => '_method',
|
'var_method' => '_method',
|
||||||
|
|
||||||
// +----------------------------------------------------------------------
|
// +----------------------------------------------------------------------
|
||||||
// | 模板引擎设置
|
// | 模板引擎设置
|
||||||
|
|||||||
@@ -417,7 +417,7 @@ class Request
|
|||||||
$this->method = $method;
|
$this->method = $method;
|
||||||
return;
|
return;
|
||||||
} elseif (!$this->method) {
|
} elseif (!$this->method) {
|
||||||
$mask = $this->param(Config::get('method_var'));
|
$mask = $this->param(Config::get('var_method'));
|
||||||
if ($mask) {
|
if ($mask) {
|
||||||
$this->method = $mask;
|
$this->method = $mask;
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user