mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-03 05:52:48 +08:00
throw_exception方法简化为E方法
删除redirect方法和N方法
This commit is contained in:
@@ -67,7 +67,7 @@ abstract class Rest {
|
||||
$this->$fun();
|
||||
}else{
|
||||
// 抛出异常
|
||||
throw_exception(L('_ERROR_ACTION_:').ACTION_NAME);
|
||||
E(L('_ERROR_ACTION_:').ACTION_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user