[update] settings menu

This commit is contained in:
2023-10-17 02:29:58 +07:00
parent 36efa12651
commit 63a58292d5
39 changed files with 1213 additions and 5 deletions

View File

@@ -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,

View 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)
}
}

View 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)
}
}