缺少 return

This commit is contained in:
pwf0112
2016-01-18 10:05:19 +08:00
parent 7ea9f45f57
commit 43049a244b

View File

@@ -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);