npm_microservice 1.0.32 → 1.0.34

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
@@ -1736,7 +1736,7 @@ var require_AlbumCategoryService = __commonJS({
1736
1736
  var AlbumCategoryService = class extends BaseService {
1737
1737
  constructor() {
1738
1738
  super(CONFIG_ROUTER_SERVICE.Lms.AlbumCategoryService);
1739
- this.isCache = true;
1739
+ this.isCache = false;
1740
1740
  this.module = "albumCategoryService";
1741
1741
  this.service = "lms";
1742
1742
  }
@@ -1753,7 +1753,7 @@ var require_AlbumFileService = __commonJS({
1753
1753
  var AlbumFileService = class extends BaseService {
1754
1754
  constructor() {
1755
1755
  super(CONFIG_ROUTER_SERVICE.Lms.AlbumFileService);
1756
- this.isCache = true;
1756
+ this.isCache = false;
1757
1757
  this.module = "albumFileService";
1758
1758
  this.service = "lms";
1759
1759
  }
@@ -1770,7 +1770,7 @@ var require_AlbumService = __commonJS({
1770
1770
  var AlbumService = class extends BaseService {
1771
1771
  constructor() {
1772
1772
  super(CONFIG_ROUTER_SERVICE.Lms.AlbumService);
1773
- this.isCache = true;
1773
+ this.isCache = false;
1774
1774
  this.module = "albumService";
1775
1775
  this.service = "lms";
1776
1776
  }
@@ -1802,10 +1802,15 @@ var require_ClassScheduleService = __commonJS({
1802
1802
  var ClassScheduleService = class extends BaseService {
1803
1803
  constructor() {
1804
1804
  super(CONFIG_ROUTER_SERVICE.Lms.ClassScheduleService);
1805
- this.isCache = true;
1805
+ this.isCache = false;
1806
1806
  this.module = "classScheduleService";
1807
1807
  this.service = "lms";
1808
1808
  }
1809
+ async studentPractice(filter = {}) {
1810
+ let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/lms/students-practice";
1811
+ this.service = "students-practice";
1812
+ return this.request("get", url, { params: filter });
1813
+ }
1809
1814
  };
1810
1815
  module2.exports = ClassScheduleService;
1811
1816
  }
@@ -1819,7 +1824,7 @@ var require_ClassesService = __commonJS({
1819
1824
  var ClassesService = class extends BaseService {
1820
1825
  constructor() {
1821
1826
  super(CONFIG_ROUTER_SERVICE.Lms.ClassesService);
1822
- this.isCache = true;
1827
+ this.isCache = false;
1823
1828
  this.module = "classesService";
1824
1829
  this.service = "lms";
1825
1830
  }
@@ -1836,7 +1841,7 @@ var require_CourseLessonService = __commonJS({
1836
1841
  var CourseLessonService = class extends BaseService {
1837
1842
  constructor() {
1838
1843
  super(CONFIG_ROUTER_SERVICE.Lms.CourseLessonService);
1839
- this.isCache = true;
1844
+ this.isCache = false;
1840
1845
  this.module = "courseLessonService";
1841
1846
  this.service = "lms";
1842
1847
  }
@@ -1853,7 +1858,7 @@ var require_CoursePriceService = __commonJS({
1853
1858
  var CoursePriceService = class extends BaseService {
1854
1859
  constructor() {
1855
1860
  super(CONFIG_ROUTER_SERVICE.Lms.CoursePriceService);
1856
- this.isCache = true;
1861
+ this.isCache = false;
1857
1862
  this.module = "coursePriceService";
1858
1863
  this.service = "lms";
1859
1864
  }
@@ -1870,7 +1875,7 @@ var require_CourseProductService = __commonJS({
1870
1875
  var CourseProductService = class extends BaseService {
1871
1876
  constructor() {
1872
1877
  super(CONFIG_ROUTER_SERVICE.Lms.CourseProductService);
1873
- this.isCache = true;
1878
+ this.isCache = false;
1874
1879
  this.module = "courseProductService";
1875
1880
  this.service = "lms";
1876
1881
  }
@@ -1887,7 +1892,7 @@ var require_CourseService = __commonJS({
1887
1892
  var CourseService = class extends BaseService {
1888
1893
  constructor() {
1889
1894
  super(CONFIG_ROUTER_SERVICE.Lms.CourseService);
1890
- this.isCache = true;
1895
+ this.isCache = false;
1891
1896
  this.module = "courseService";
1892
1897
  this.service = "lms";
1893
1898
  }
@@ -1904,7 +1909,7 @@ var require_DocumentCategoryService = __commonJS({
1904
1909
  var DocumentCategoryService = class extends BaseService {
1905
1910
  constructor() {
1906
1911
  super(CONFIG_ROUTER_SERVICE.Lms.DocumentCategoryService);
1907
- this.isCache = true;
1912
+ this.isCache = false;
1908
1913
  this.module = "documentCategoryService";
1909
1914
  this.service = "lms";
1910
1915
  }
@@ -1921,7 +1926,7 @@ var require_DocumentService2 = __commonJS({
1921
1926
  var DocumentService = class extends BaseService {
1922
1927
  constructor() {
1923
1928
  super(CONFIG_ROUTER_SERVICE.Lms.DocumentService);
1924
- this.isCache = true;
1929
+ this.isCache = false;
1925
1930
  this.module = "documentService";
1926
1931
  this.service = "lms";
1927
1932
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var AlbumCategoryService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.AlbumCategoryService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "albumCategoryService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var AlbumFileService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.AlbumFileService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "albumFileService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var AlbumService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.AlbumService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "albumService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,9 +433,14 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var ClassScheduleService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.ClassScheduleService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "classScheduleService";
438
438
  this.service = "lms";
439
439
  }
440
+ async studentPractice(filter = {}) {
441
+ let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/lms/students-practice";
442
+ this.service = "students-practice";
443
+ return this.request("get", url, { params: filter });
444
+ }
440
445
  };
441
446
  module.exports = ClassScheduleService;
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var ClassesService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.ClassesService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "classesService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var CourseLessonService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.CourseLessonService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "courseLessonService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var CoursePriceService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.CoursePriceService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "coursePriceService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var CourseProductService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.CourseProductService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "courseProductService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var CourseService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.CourseService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "courseService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var DocumentCategoryService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.DocumentCategoryService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "documentCategoryService";
438
438
  this.service = "lms";
439
439
  }
@@ -433,7 +433,7 @@ var { CONFIG_ROUTER_SERVICE } = require_config();
433
433
  var DocumentService = class extends BaseService {
434
434
  constructor() {
435
435
  super(CONFIG_ROUTER_SERVICE.Lms.DocumentService);
436
- this.isCache = true;
436
+ this.isCache = false;
437
437
  this.module = "documentService";
438
438
  this.service = "lms";
439
439
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "npm_microservice",
3
- "version": "1.0.32",
3
+ "version": "1.0.34",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "exports": {