iptdevs-design-system 3.1.722 → 3.1.724
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/esm2020/lib/core/services/course-service/course-service.model.mjs +11 -1
- package/esm2020/lib/core/services/user-service/user-service.mjs +6 -1
- package/fesm2015/iptdevs-design-system.mjs +15 -0
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +15 -0
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/lib/core/services/course-service/course-service.model.d.ts +3 -1
- package/lib/core/services/user-service/user-service.d.ts +1 -0
- package/package.json +1 -1
|
@@ -935,6 +935,11 @@ class UserService extends IPTGeneralService {
|
|
|
935
935
|
this.generateRequestParams(param);
|
|
936
936
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
937
937
|
}
|
|
938
|
+
DeleteTeacherByCode(params) {
|
|
939
|
+
let serviceUrl = this.SERVICE_URL + 'post/delete/teacher/by/code';
|
|
940
|
+
this.generateRequestParams(params);
|
|
941
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
942
|
+
}
|
|
938
943
|
}
|
|
939
944
|
UserService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
940
945
|
UserService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: UserService, providedIn: 'root' });
|
|
@@ -3510,6 +3515,16 @@ class CourseService extends IPTGeneralService {
|
|
|
3510
3515
|
this.generateRequestParams(params);
|
|
3511
3516
|
return this.http.post(serviceUrl, this.httpOptions);
|
|
3512
3517
|
}
|
|
3518
|
+
UpdateCourseTeacherByCode(params) {
|
|
3519
|
+
let serviceUrl = this.SERVICE_URL + 'post/update/course/teacher/by/code';
|
|
3520
|
+
this.generateRequestParams(params);
|
|
3521
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
3522
|
+
}
|
|
3523
|
+
UpdateCourseCapacityByCode(params) {
|
|
3524
|
+
let serviceUrl = this.SERVICE_URL + '/post/update/course/capacity/by/code';
|
|
3525
|
+
this.generateRequestParams(params);
|
|
3526
|
+
return this.http.post(serviceUrl, this.httpOptions);
|
|
3527
|
+
}
|
|
3513
3528
|
}
|
|
3514
3529
|
CourseService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, deps: [{ token: i1$2.HttpClient }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
3515
3530
|
CourseService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "14.0.7", ngImport: i0, type: CourseService, providedIn: 'root' });
|