mirror of https://github.com/abpframework/abp.git
9 changed files with 2643 additions and 1234 deletions
File diff suppressed because it is too large
@ -0,0 +1,20 @@ |
|||
import type { ApplicationLocalizationDto, ApplicationLocalizationRequestDto } from './models'; |
|||
import { Injectable } from '@angular/core'; |
|||
import { RestService } from '../../../../../../services/rest.service'; |
|||
|
|||
@Injectable({ |
|||
providedIn: 'root', |
|||
}) |
|||
export class AbpApplicationLocalizationService { |
|||
apiName = 'abp'; |
|||
|
|||
get = (input: ApplicationLocalizationRequestDto) => |
|||
this.restService.request<any, ApplicationLocalizationDto>({ |
|||
method: 'GET', |
|||
url: '/api/abp/application-localization', |
|||
params: { cultureName: input.cultureName, onlyDynamics: input.onlyDynamics }, |
|||
}, |
|||
{ apiName: this.apiName }); |
|||
|
|||
constructor(private restService: RestService) {} |
|||
} |
|||
@ -1,4 +1,5 @@ |
|||
import * as ObjectExtending from './object-extending'; |
|||
export * from './abp-application-configuration.service'; |
|||
export * from './abp-application-localization.service'; |
|||
export * from './models'; |
|||
export { ObjectExtending }; |
|||
|
|||
Loading…
Reference in new issue