File

src/app/apm/manage/manage.service.ts

Index

Properties
Methods

Constructor

constructor(http: HttpClient)
Parameters :
Name Type Optional
http HttpClient No

Methods

getList
getList()
Returns : any

Properties

Private apiUrl
Default value : environment.apm
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { environment } from '../../../environments/environment';

@Injectable({
  providedIn: 'root'
})
export class ManageService {
  private apiUrl = environment.apm;

  constructor(private http: HttpClient) {}

  getList() {
    const url = `${this.apiUrl}/system/list.json`;
    return this.http.get<any>(url);
  }
}

result-matching ""

    No results matching ""