|
|
|
@ -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); |
|
|
|
|