mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
缺少 return
This commit is contained in:
@@ -75,7 +75,7 @@ abstract class Rest
|
||||
$fun = $method . '_' . $this->_method;
|
||||
}
|
||||
if (isset($fun)) {
|
||||
$this->$fun();
|
||||
return $this->$fun();
|
||||
} else {
|
||||
// 抛出异常
|
||||
throw new \Exception('error action :' . ACTION_NAME);
|
||||
|
||||
Reference in New Issue
Block a user