Commit 931a34aa by Sweet Zhang

登录接口增加token

parent d28bb28d
...@@ -45,7 +45,7 @@ export class AuthService { ...@@ -45,7 +45,7 @@ export class AuthService {
*/ */
obtainToken(loginId) { obtainToken(loginId) {
const url = this.API + '/authorize/obtainToken'; const url = this.API + '/authorize/obtainToken';
return this.http.post(url, JSON.stringify({ ticket: "life",loginId:loginId})); return this.http.post(url, JSON.stringify({ ticket: "life",loginId:loginId,customerId:localStorage.getItem('lifeCustomerInfo') ? JSON.parse(localStorage.getItem('lifeCustomerInfo')).customerId : null}));
} }
//获取微信配置ydLife公众号 //获取微信配置ydLife公众号
......
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