lrf402788946 %!s(int64=4) %!d(string=hai) anos
pai
achega
a548f62bb0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);