import { HttpClient } from '@angular/common/http' ; import { Injectable } from '@angular/core' ; import { Observable } from 'rxjs' ; import { Params } from '../../../utils/params.service' ; @ Injectable ( ) export class SystemLogListService { constructor ( private http , private params ) { } public getSystemLogList ( data ) { return this . http . get ( '/systemlog?' + this . params . fmtpages ( data ) ) ; } public deleteSystemLog ( id ) { return this . http . delete ( '/systemlog/' + id ) ; } public syncGeoInfo ( ) { return this . http . post ( '/system/geoinfo' , { } ) ; } }