[update] settings menu
This commit is contained in:
@@ -5,7 +5,7 @@ import { MatSort } from '@angular/material/sort';
|
||||
import { MatTableDataSource } from '@angular/material/table';
|
||||
import { environment } from 'src/environments/environment';
|
||||
import { map, startWith } from 'rxjs/operators';
|
||||
|
||||
import { CDialogConfig, IDialogConfig } from 'src/app/@common/interface/Dialog';
|
||||
|
||||
|
||||
export interface ResultPageEvent<T> {
|
||||
@@ -25,6 +25,8 @@ export interface CustomeEventPage extends PageEvent {
|
||||
|
||||
@Directive()
|
||||
export class BaseList {
|
||||
|
||||
dialogConfig: IDialogConfig = CDialogConfig;
|
||||
protected INT_PAGING:CustomeEventPage = {
|
||||
length: 0,
|
||||
pageIndex: 0,
|
||||
|
||||
16
src/app/core/service/common/banner.service.ts
Normal file
16
src/app/core/service/common/banner.service.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { BaseService } from 'src/app/core/base/base-service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class BannerService extends BaseService{
|
||||
|
||||
constructor(
|
||||
public http: HttpClient
|
||||
) {
|
||||
super('/common/banner', http)
|
||||
}
|
||||
|
||||
}
|
||||
16
src/app/core/service/common/promotion.service.ts
Normal file
16
src/app/core/service/common/promotion.service.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import { HttpClient } from '@angular/common/http';
|
||||
import { Injectable } from '@angular/core';
|
||||
import { BaseService } from 'src/app/core/base/base-service';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
export class PromotionService extends BaseService{
|
||||
|
||||
constructor(
|
||||
public http: HttpClient
|
||||
) {
|
||||
super('/common/promotionwwwwwwwwwwww', http)
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user