npm_microservice 1.0.22 → 1.0.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/service.js CHANGED
@@ -472,6 +472,10 @@ var require_SettingService = __commonJS({
472
472
  this.timeCache = 24 * 60 * 60;
473
473
  return this.request("get", url, { params: filter });
474
474
  }
475
+ async getVideo(filter = {}) {
476
+ let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/app/video";
477
+ return this.request("get", url, { params: filter });
478
+ }
475
479
  // có thể thêm method riêng cho user nếu cần
476
480
  };
477
481
  module2.exports = SettingService;
@@ -470,6 +470,10 @@ var SettingService = class extends BaseService {
470
470
  this.timeCache = 24 * 60 * 60;
471
471
  return this.request("get", url, { params: filter });
472
472
  }
473
+ async getVideo(filter = {}) {
474
+ let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/app/video";
475
+ return this.request("get", url, { params: filter });
476
+ }
473
477
  // có thể thêm method riêng cho user nếu cần
474
478
  };
475
479
  module.exports = SettingService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm_microservice",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "exports": {