mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 15:02:47 +08:00
规范调整
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
namespace think\controller;
|
||||
use think\Response;
|
||||
|
||||
abstract class rest {
|
||||
|
||||
@@ -68,7 +69,7 @@ abstract class rest {
|
||||
$this->$fun();
|
||||
}else{
|
||||
// 抛出异常
|
||||
throw new \think\Exception(L('_ERROR_ACTION_:').ACTION_NAME);
|
||||
throw new \think\Exception(\think\Lang::get('_ERROR_ACTION_:').ACTION_NAME);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user