ntk-cms-api 1.2.231 → 1.2.233
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/service/base/apiCmsServerBase.service.mjs +2 -2
- package/esm2020/lib/service/base/apiServerBase.service.mjs +3 -1
- package/fesm2015/ntk-cms-api.mjs +3 -1
- package/fesm2015/ntk-cms-api.mjs.map +1 -1
- package/fesm2020/ntk-cms-api.mjs +3 -1
- package/fesm2020/ntk-cms-api.mjs.map +1 -1
- package/lib/service/base/apiServerBase.service.d.ts +2 -2
- package/package.json +1 -1
package/fesm2020/ntk-cms-api.mjs
CHANGED
|
@@ -1264,6 +1264,8 @@ class ApiServerBase {
|
|
|
1264
1264
|
this.keyDeviceToken = 'deviceToken';
|
|
1265
1265
|
this.keyBaseUrl = 'baseUrl';
|
|
1266
1266
|
this.accessLoad = false;
|
|
1267
|
+
this.cachApiResult = [];
|
|
1268
|
+
this.cachApiCallDate = [];
|
|
1267
1269
|
this.cashApiSeconds = 20;
|
|
1268
1270
|
this.childConstructor();
|
|
1269
1271
|
this.headers = new Map();
|
|
@@ -1674,7 +1676,7 @@ class ApiCmsServerBase extends ApiServerBase {
|
|
|
1674
1676
|
}
|
|
1675
1677
|
ServiceGetOneById(id) {
|
|
1676
1678
|
//! optimaze call api
|
|
1677
|
-
const serviceName = '
|
|
1679
|
+
const serviceName = 'ServiceGetOneById';
|
|
1678
1680
|
const serviceNameKay = serviceName + '_' + id;
|
|
1679
1681
|
if (this.getModuleCashService().includes(serviceName)) {
|
|
1680
1682
|
do {
|