mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-08 07:32:48 +08:00
修正RestController属性名错误
This commit is contained in:
@@ -70,7 +70,7 @@ abstract class Rest
|
|||||||
if (method_exists($this, $method . '_' . $this->method . '_' . $this->type)) {
|
if (method_exists($this, $method . '_' . $this->method . '_' . $this->type)) {
|
||||||
// RESTFul方法支持
|
// RESTFul方法支持
|
||||||
$fun = $method . '_' . $this->method . '_' . $this->type;
|
$fun = $method . '_' . $this->method . '_' . $this->type;
|
||||||
} elseif ($this->_method == $this->restDefaultMethod && method_exists($this, $method . '_' . $this->type)) {
|
} elseif ($this->method == $this->restDefaultMethod && method_exists($this, $method . '_' . $this->type)) {
|
||||||
$fun = $method . '_' . $this->type;
|
$fun = $method . '_' . $this->type;
|
||||||
} elseif ($this->type == $this->restDefaultType && method_exists($this, $method . '_' . $this->method)) {
|
} elseif ($this->type == $this->restDefaultType && method_exists($this, $method . '_' . $this->method)) {
|
||||||
$fun = $method . '_' . $this->method;
|
$fun = $method . '_' . $this->method;
|
||||||
|
|||||||
Reference in New Issue
Block a user