lrf402788946 há 3 anos atrás
pai
commit
a548f62bb0
1 ficheiros alterados com 1 adições e 1 exclusões
  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);