ntk-cms-api 1.2.258 → 1.2.259
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/models/entity/base/errorExceptionResult.mjs +1 -6
- package/esm2020/lib/models/entity/base/errorExceptionResultBase.mjs +3 -1
- package/esm2020/lib/service/base/apiCmsServerBase.service.mjs +2 -2
- package/esm2020/lib/service/base/iApiCmsServerBase.mjs +1 -1
- package/fesm2015/ntk-cms-api.mjs +2 -5
- package/fesm2015/ntk-cms-api.mjs.map +1 -1
- package/fesm2020/ntk-cms-api.mjs +2 -5
- package/fesm2020/ntk-cms-api.mjs.map +1 -1
- package/lib/models/entity/base/errorExceptionResult.d.ts +0 -2
- package/lib/models/entity/base/errorExceptionResultBase.d.ts +2 -0
- package/lib/service/base/apiCmsServerBase.service.d.ts +1 -1
- package/lib/service/base/iApiCmsServerBase.d.ts +1 -0
- package/package.json +1 -1
package/fesm2020/ntk-cms-api.mjs
CHANGED
|
@@ -1194,15 +1194,12 @@ class ErrorExceptionResultBase {
|
|
|
1194
1194
|
constructor() {
|
|
1195
1195
|
this.status = 0;
|
|
1196
1196
|
this.isSuccess = true;
|
|
1197
|
+
this.access = new AccessModel();
|
|
1197
1198
|
}
|
|
1198
1199
|
}
|
|
1199
1200
|
|
|
1200
1201
|
//@@tag-Version-2201011
|
|
1201
1202
|
class ErrorExceptionResult extends ErrorExceptionResultBase {
|
|
1202
|
-
constructor() {
|
|
1203
|
-
super(...arguments);
|
|
1204
|
-
this.access = new AccessModel();
|
|
1205
|
-
}
|
|
1206
1203
|
}
|
|
1207
1204
|
|
|
1208
1205
|
//@@tag-Version-2201011
|
|
@@ -1660,7 +1657,7 @@ class ApiCmsServerBase extends ApiServerBase {
|
|
|
1660
1657
|
.pipe(
|
|
1661
1658
|
// catchError(this.handleError)
|
|
1662
1659
|
map((ret) => {
|
|
1663
|
-
return this.
|
|
1660
|
+
return this.errorExceptionResultBaseCheck(ret);
|
|
1664
1661
|
}));
|
|
1665
1662
|
}
|
|
1666
1663
|
ServiceReportFileGetAll() {
|