ntk-cms-api 20.25.42 → 20.25.43

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.
@@ -1582,7 +1582,7 @@ class ApiCmsServerBase extends ApiServerBase {
1582
1582
  return this.http
1583
1583
  .get(this.getBaseUrl() +
1584
1584
  this.getModuleControllerUrl() +
1585
- '/SetStatus/' +
1585
+ '/SetRecordStatus/' +
1586
1586
  id +
1587
1587
  '/' +
1588
1588
  recordStatus, {
@@ -1592,6 +1592,21 @@ class ApiCmsServerBase extends ApiServerBase {
1592
1592
  return ret;
1593
1593
  }));
1594
1594
  }
1595
+ ServiceSetAdminStatus(id, recordAdminStatus) {
1596
+ // this.loadingStatus=true;
1597
+ return this.http
1598
+ .get(this.getBaseUrl() +
1599
+ this.getModuleControllerUrl() +
1600
+ '/SetRecordAdminStatus/' +
1601
+ id +
1602
+ '/' +
1603
+ recordAdminStatus, {
1604
+ headers: this.getHeaders(),
1605
+ })
1606
+ .pipe(retry(this.configApiRetry), map((ret) => {
1607
+ return ret;
1608
+ }));
1609
+ }
1595
1610
  ServiceGetExist(model) {
1596
1611
  return this.http
1597
1612
  .post(this.getBaseUrl() + this.getModuleControllerUrl() + '/exist', model, {