mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 06:15:29 +08:00
api 统一返回处理
This commit is contained in:
@ -10,6 +10,7 @@
|
||||
// +----------------------------------------------------------------------
|
||||
namespace app\api\controller;
|
||||
|
||||
use app\service\ApiService;
|
||||
use app\service\UeditorService;
|
||||
|
||||
/**
|
||||
@ -47,7 +48,7 @@ class Ueditor extends Common
|
||||
*/
|
||||
public function Index()
|
||||
{
|
||||
return UeditorService::Run($this->data_request);
|
||||
return ApiService::ApiDataReturn(UeditorService::Run($this->data_request));
|
||||
}
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user