mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 05:52:48 +08:00
添加api接口的支持
This commit is contained in:
@@ -68,7 +68,7 @@ abstract class rest {
|
||||
$this->$fun();
|
||||
}else{
|
||||
// 抛出异常
|
||||
E(L('_ERROR_ACTION_:').ACTION_NAME);
|
||||
throw new \think\Exception(L('_ERROR_ACTION_:').ACTION_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user