lrf402788946 hace 4 años
padre
commit
a548f62bb0
Se han modificado 1 ficheros con 1 adiciones y 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);