lrf402788946 4 년 전
부모
커밋
3aa81df3e0
2개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      app/service/statistics.js
  2. 1 0
      app/util/deal-list.js

+ 5 - 0
app/service/statistics.js

@@ -38,6 +38,11 @@ class StatisticsService extends CrudService {
     const url = `${this.project.live}/api/live/v0/statistics/index/pac`;
     return await this.httpUtil.$get(url);
   }
+
+  async ticket() {
+    const url = `${this.project.live}/api/live/v0/statistics/index/ticket`;
+    return await this.httpUtil.$get(url);
+  }
 }
 
 module.exports = StatisticsService;

+ 1 - 0
app/util/deal-list.js

@@ -2,4 +2,5 @@
 module.exports = [
   { uri: '/statistics/user', service: 'statistics', method: 'users' },
   { uri: '/statistics/data', service: 'statistics', method: 'policyApply' },
+  { uri: '/statistics/ticket', service: 'statistics', method: 'ticket' },
 ];