gdk-request-lib
v0.0.10
Published
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.2.4.
Downloads
4
Readme
GdkRequestLib
This library was generated with Angular CLI version 8.2.4.
Sử dụng
import vào app.module:
@NgModule({
.................
imports : [
............
GdkHttpClientConfigModule.forRoot({
id: <appid>,
urlSystem: <Đường dẫn truy vấn>
})
.............
]
export vào module
@NgModule({
.................
imports : [
............
GdkConfirmDialogModule
.............
]
###1. Gọi hàm service vào Contructor:
Constructor(
........
public client: GdkRequestService
.......
)
###2. Sử dụng các hàm
truy vấn: query(reqData: ReqData, path?: string, options:any, serverId?: string): Obserable;
Cảnh báo: gdkAlert(msg: sring, title?: string, options)