Commit 7f6e2b69 authored by wangqinghua's avatar wangqinghua

update

parent 9ee73576
...@@ -2,11 +2,12 @@ import { HttpClient } from "@angular/common/http"; ...@@ -2,11 +2,12 @@ import { HttpClient } from "@angular/common/http";
import {Observable} from "rxjs/Rx"; import {Observable} from "rxjs/Rx";
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import {SERVER_API_URL, SERVER_API_URL_COMS} from '../app.constants'; import {SERVER_API_URL, SERVER_API_URL_COMS} from '../app.constants';
import {CommonService} from '../shared/common/common.service';
@Injectable() @Injectable()
export class LayoutService { export class LayoutService {
constructor(private http: HttpClient) { constructor(private http: HttpClient,private commonSer:CommonService) {
} }
//当前登录人菜单 //当前登录人菜单
...@@ -60,4 +61,9 @@ export class LayoutService { ...@@ -60,4 +61,9 @@ export class LayoutService {
return this.http.get(SERVER_API_URL + "/userFollow/myFollowDetail"); return this.http.get(SERVER_API_URL + "/userFollow/myFollowDetail");
} }
//查询加密密码
encodePassword(data): Observable<any>{
return this.http.post(SERVER_API_URL_COMS + "/encodePassword",this.commonSer.toFormData(data));
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment