|
@@ -147,7 +147,7 @@ class Apic
|
|
|
if (!$this->auth->match($this->noNeedRight)) {
|
|
|
// 判断控制器和方法判断是否有对应权限
|
|
|
if (!$this->auth->check($path)) {
|
|
|
- $this->error(__('You have no permission'), null, 403);
|
|
|
+ $this->error(__('You have no permission'), null, 403,null,['statuscode'=>200]);
|
|
|
}
|
|
|
}
|
|
|
} else {
|