2016-07-09 21:08:36 +08:00
|
|
|
import {Injectable} from "@angular/core";
|
|
|
|
|
|
|
|
@Injectable()
|
|
|
|
export class NotificationService {
|
|
|
|
|
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
constructor() {
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
}
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
public showException(message: string) {
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
}
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
public showError(message: string) {
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
}
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
public showWarn(message: string) {
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
}
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
public showInfo(message: string) {
|
2016-07-09 21:08:36 +08:00
|
|
|
|
2017-06-11 04:32:56 +08:00
|
|
|
}
|
2016-07-09 21:08:36 +08:00
|
|
|
|
|
|
|
}
|