lrf402788946 3 年之前
父節點
當前提交
a548f62bb0
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/statistics/index.js

+ 1 - 1
app/controller/statistics/index.js

@@ -95,7 +95,7 @@ class IndexController extends Controller {
   // 专利运营用户首页统计
   async patentUserIndex() {
     const data = await this.service.patentUserIndex(this.ctx.query);
-    this.ctx.ok(data);
+    this.ctx.ok({ data });
   }
 }
 module.exports = CrudController(IndexController, meta);