|
@@ -200,7 +200,7 @@ class Api
|
|
|
if(empty($msg)){
|
|
|
$msg = '操作成功';
|
|
|
}
|
|
|
- $this->result($msg, $data, $code, $type, $header);
|
|
|
+ $this->result($msg, $data, $code, $type, $header);return true;
|
|
|
}
|
|
|
|
|
|
/**
|
|
@@ -216,7 +216,7 @@ class Api
|
|
|
if(empty($msg)){
|
|
|
$msg = __('Invalid parameters');
|
|
|
}
|
|
|
- $this->result($msg, $data, $code, $type, $header);
|
|
|
+ $this->result($msg, $data, $code, $type, $header);return true;
|
|
|
}
|
|
|
|
|
|
/**
|