api 统一返回处理

This commit is contained in:
Devil
2021-07-20 23:45:54 +08:00
parent 698b57fb40
commit b88841d902
26 changed files with 520 additions and 486 deletions

View File

@ -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));
}
}
?>