ntk-cms-api 1.0.433 → 1.0.434
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/bundles/ntk-cms-api.umd.js +24 -0
- package/bundles/ntk-cms-api.umd.js.map +1 -1
- package/bundles/ntk-cms-api.umd.min.js +1 -1
- package/bundles/ntk-cms-api.umd.min.js.map +1 -1
- package/esm2015/lib/models/entity/core-main/coreModuleModel.js +1 -1
- package/esm2015/lib/service/core-module-main/coreModuleSiteCredit.service.js +13 -1
- package/esm2015/lib/service/core-module-main/coreModuleSiteUserCredit.service.js +13 -1
- package/fesm2015/ntk-cms-api.js +22 -0
- package/fesm2015/ntk-cms-api.js.map +1 -1
- package/lib/models/entity/core-main/coreModuleModel.d.ts +2 -0
- package/lib/service/core-module-main/coreModuleSiteCredit.service.d.ts +3 -0
- package/lib/service/core-module-main/coreModuleSiteUserCredit.service.d.ts +3 -0
- package/ntk-cms-api.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -4199,6 +4199,18 @@
|
|
|
4199
4199
|
CoreModuleSiteCreditService.prototype.getModuleControllerUrl = function () {
|
|
4200
4200
|
return 'CoreModuleSiteCredit';
|
|
4201
4201
|
};
|
|
4202
|
+
CoreModuleSiteCreditService.prototype.ServiceGetCredit = function (LinkModuleId) {
|
|
4203
|
+
var _this = this;
|
|
4204
|
+
return this.http
|
|
4205
|
+
.get(this.getBaseUrl() + this.getModuleControllerUrl() + '/GetCredit/' + LinkModuleId, {
|
|
4206
|
+
headers: this.getHeaders(),
|
|
4207
|
+
})
|
|
4208
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
4209
|
+
// catchError(this.handleError)
|
|
4210
|
+
operators.map(function (ret) {
|
|
4211
|
+
return _this.errorExceptionResultCheck(ret);
|
|
4212
|
+
}));
|
|
4213
|
+
};
|
|
4202
4214
|
return CoreModuleSiteCreditService;
|
|
4203
4215
|
}(ApiCmsServerBase));
|
|
4204
4216
|
CoreModuleSiteCreditService.decorators = [
|
|
@@ -4213,6 +4225,18 @@
|
|
|
4213
4225
|
CoreModuleSiteUserCreditService.prototype.getModuleControllerUrl = function () {
|
|
4214
4226
|
return 'CoreModuleSiteUserCredit';
|
|
4215
4227
|
};
|
|
4228
|
+
CoreModuleSiteUserCreditService.prototype.ServiceGetCredit = function (LinkModuleId) {
|
|
4229
|
+
var _this = this;
|
|
4230
|
+
return this.http
|
|
4231
|
+
.get(this.getBaseUrl() + this.getModuleControllerUrl() + '/GetCredit/' + LinkModuleId, {
|
|
4232
|
+
headers: this.getHeaders(),
|
|
4233
|
+
})
|
|
4234
|
+
.pipe(operators.retry(this.configApiRetry),
|
|
4235
|
+
// catchError(this.handleError)
|
|
4236
|
+
operators.map(function (ret) {
|
|
4237
|
+
return _this.errorExceptionResultCheck(ret);
|
|
4238
|
+
}));
|
|
4239
|
+
};
|
|
4216
4240
|
return CoreModuleSiteUserCreditService;
|
|
4217
4241
|
}(ApiCmsServerBase));
|
|
4218
4242
|
CoreModuleSiteUserCreditService.decorators = [
|