npm_microservice 1.0.33 → 1.0.36
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 +16 -11
- package/dist/services/lms/AlbumCategoryService.js +1 -1
- package/dist/services/lms/AlbumFileService.js +1 -1
- package/dist/services/lms/AlbumService.js +1 -1
- package/dist/services/lms/ClassScheduleService.js +6 -1
- package/dist/services/lms/ClassesService.js +1 -1
- package/dist/services/lms/CourseLessonService.js +1 -1
- package/dist/services/lms/CoursePriceService.js +1 -1
- package/dist/services/lms/CourseProductService.js +1 -1
- package/dist/services/lms/CourseService.js +1 -1
- package/dist/services/lms/DocumentCategoryService.js +1 -1
- package/dist/services/lms/DocumentService.js +1 -1
- package/package.json +1 -1
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 =
|
|
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 =
|
|
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 =
|
|
1773
|
+
this.isCache = false;
|
|
1774
1774
|
this.module = "albumService";
|
|
1775
1775
|
this.service = "lms";
|
|
1776
1776
|
}
|
|
@@ -1802,7 +1802,7 @@ 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 =
|
|
1805
|
+
this.isCache = false;
|
|
1806
1806
|
this.module = "classScheduleService";
|
|
1807
1807
|
this.service = "lms";
|
|
1808
1808
|
}
|
|
@@ -1811,6 +1811,11 @@ var require_ClassScheduleService = __commonJS({
|
|
|
1811
1811
|
this.service = "students-practice";
|
|
1812
1812
|
return this.request("get", url, { params: filter });
|
|
1813
1813
|
}
|
|
1814
|
+
async studentTracking(filter = {}) {
|
|
1815
|
+
let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/lms/students-tracking";
|
|
1816
|
+
this.service = "students-tracking";
|
|
1817
|
+
return this.request("get", url, { params: filter });
|
|
1818
|
+
}
|
|
1814
1819
|
};
|
|
1815
1820
|
module2.exports = ClassScheduleService;
|
|
1816
1821
|
}
|
|
@@ -1824,7 +1829,7 @@ var require_ClassesService = __commonJS({
|
|
|
1824
1829
|
var ClassesService = class extends BaseService {
|
|
1825
1830
|
constructor() {
|
|
1826
1831
|
super(CONFIG_ROUTER_SERVICE.Lms.ClassesService);
|
|
1827
|
-
this.isCache =
|
|
1832
|
+
this.isCache = false;
|
|
1828
1833
|
this.module = "classesService";
|
|
1829
1834
|
this.service = "lms";
|
|
1830
1835
|
}
|
|
@@ -1841,7 +1846,7 @@ var require_CourseLessonService = __commonJS({
|
|
|
1841
1846
|
var CourseLessonService = class extends BaseService {
|
|
1842
1847
|
constructor() {
|
|
1843
1848
|
super(CONFIG_ROUTER_SERVICE.Lms.CourseLessonService);
|
|
1844
|
-
this.isCache =
|
|
1849
|
+
this.isCache = false;
|
|
1845
1850
|
this.module = "courseLessonService";
|
|
1846
1851
|
this.service = "lms";
|
|
1847
1852
|
}
|
|
@@ -1858,7 +1863,7 @@ var require_CoursePriceService = __commonJS({
|
|
|
1858
1863
|
var CoursePriceService = class extends BaseService {
|
|
1859
1864
|
constructor() {
|
|
1860
1865
|
super(CONFIG_ROUTER_SERVICE.Lms.CoursePriceService);
|
|
1861
|
-
this.isCache =
|
|
1866
|
+
this.isCache = false;
|
|
1862
1867
|
this.module = "coursePriceService";
|
|
1863
1868
|
this.service = "lms";
|
|
1864
1869
|
}
|
|
@@ -1875,7 +1880,7 @@ var require_CourseProductService = __commonJS({
|
|
|
1875
1880
|
var CourseProductService = class extends BaseService {
|
|
1876
1881
|
constructor() {
|
|
1877
1882
|
super(CONFIG_ROUTER_SERVICE.Lms.CourseProductService);
|
|
1878
|
-
this.isCache =
|
|
1883
|
+
this.isCache = false;
|
|
1879
1884
|
this.module = "courseProductService";
|
|
1880
1885
|
this.service = "lms";
|
|
1881
1886
|
}
|
|
@@ -1892,7 +1897,7 @@ var require_CourseService = __commonJS({
|
|
|
1892
1897
|
var CourseService = class extends BaseService {
|
|
1893
1898
|
constructor() {
|
|
1894
1899
|
super(CONFIG_ROUTER_SERVICE.Lms.CourseService);
|
|
1895
|
-
this.isCache =
|
|
1900
|
+
this.isCache = false;
|
|
1896
1901
|
this.module = "courseService";
|
|
1897
1902
|
this.service = "lms";
|
|
1898
1903
|
}
|
|
@@ -1909,7 +1914,7 @@ var require_DocumentCategoryService = __commonJS({
|
|
|
1909
1914
|
var DocumentCategoryService = class extends BaseService {
|
|
1910
1915
|
constructor() {
|
|
1911
1916
|
super(CONFIG_ROUTER_SERVICE.Lms.DocumentCategoryService);
|
|
1912
|
-
this.isCache =
|
|
1917
|
+
this.isCache = false;
|
|
1913
1918
|
this.module = "documentCategoryService";
|
|
1914
1919
|
this.service = "lms";
|
|
1915
1920
|
}
|
|
@@ -1926,7 +1931,7 @@ var require_DocumentService2 = __commonJS({
|
|
|
1926
1931
|
var DocumentService = class extends BaseService {
|
|
1927
1932
|
constructor() {
|
|
1928
1933
|
super(CONFIG_ROUTER_SERVICE.Lms.DocumentService);
|
|
1929
|
-
this.isCache =
|
|
1934
|
+
this.isCache = false;
|
|
1930
1935
|
this.module = "documentService";
|
|
1931
1936
|
this.service = "lms";
|
|
1932
1937
|
}
|
|
@@ -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 =
|
|
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 =
|
|
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 =
|
|
436
|
+
this.isCache = false;
|
|
437
437
|
this.module = "albumService";
|
|
438
438
|
this.service = "lms";
|
|
439
439
|
}
|
|
@@ -433,7 +433,7 @@ 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 =
|
|
436
|
+
this.isCache = false;
|
|
437
437
|
this.module = "classScheduleService";
|
|
438
438
|
this.service = "lms";
|
|
439
439
|
}
|
|
@@ -442,5 +442,10 @@ var ClassScheduleService = class extends BaseService {
|
|
|
442
442
|
this.service = "students-practice";
|
|
443
443
|
return this.request("get", url, { params: filter });
|
|
444
444
|
}
|
|
445
|
+
async studentTracking(filter = {}) {
|
|
446
|
+
let url = CONFIG_ROUTER_SERVICE.BASE_URL + "/lms/students-tracking";
|
|
447
|
+
this.service = "students-tracking";
|
|
448
|
+
return this.request("get", url, { params: filter });
|
|
449
|
+
}
|
|
445
450
|
};
|
|
446
451
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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 =
|
|
436
|
+
this.isCache = false;
|
|
437
437
|
this.module = "documentService";
|
|
438
438
|
this.service = "lms";
|
|
439
439
|
}
|