数据可视化大屏
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
402B

  1. import { HttpClient } from '@angular/common/http';
  2. import { Injectable } from '@angular/core';
  3. import { Observable } from 'rxjs';
  4. import { Menu } from './lj-menu.interface';
  5. @Injectable({
  6. providedIn: 'root'
  7. })
  8. export class MenuService {
  9. constructor(private http: HttpClient) {}
  10. getMenus(): Observable<Menu[]> {
  11. return this.http.get<Menu[]>('/api/main/menu?ClientId=Platform_Datav');
  12. }
  13. }