Browse Source

[完善] 存储planID

develop
陈鹏飞 4 years ago
parent
commit
82a2681bf3
  1. 2
      src/app/http-interceptors/cache-token.service.ts

2
src/app/http-interceptors/cache-token.service.ts

@ -16,7 +16,7 @@ export class CacheTokenService {
login () {
return new Promise ((resolve,reject)=>{
sessionStorage.setItem("buildingTypeId",'5e7c9078a3050b1a840ed4ba'); //建筑类型
sessionStorage.setItem("planId",''); //预案ID
sessionStorage.setItem("planId",'5f6957a29e91f4410005f5d7'); //预案ID
sessionStorage.setItem("companyId",'5f67042b9e91f4410005f55c'); //单位ID
this.http.post('/api/Account/SignIn',this.loginData).subscribe((data:any)=>{
sessionStorage.setItem("level",data.level);

Loading…
Cancel
Save