@farris/bef
Advanced tools
Comparing version 0.0.10-201811091513 to 0.0.10-201811141525
{ | ||
"version": "0.0.10-201811091513", | ||
"version": "0.0.10-201811141525", | ||
"license": "MIT", | ||
@@ -20,3 +20,3 @@ "author": { | ||
}, | ||
"_id": "@farris/bef@0.0.10-201811091513" | ||
"_id": "@farris/bef@0.0.10-201811141525" | ||
} |
import { HttpClient } from '@angular/common/http'; | ||
import { Observable } from 'rxjs/Observable'; | ||
import { BefSessionService } from './bef_session.service'; | ||
import { ChangeDetail } from './types'; | ||
@@ -16,3 +17,3 @@ /** | ||
*/ | ||
private sessionService; | ||
sessionService: BefSessionService; | ||
/** | ||
@@ -19,0 +20,0 @@ * 接口根Uri |
@@ -56,3 +56,11 @@ import { HttpClient } from '@angular/common/http'; | ||
createBeSession(): Observable<string>; | ||
/** | ||
* 清空FrmSessionId | ||
*/ | ||
clearFrmSessionId(): void; | ||
/** | ||
* 清空BeSessionId | ||
*/ | ||
clearBeSessionId(): void; | ||
} | ||
export { BefSessionService }; |
@@ -25,3 +25,3 @@ "use strict"; | ||
this.httpClient = httpClient; | ||
this.frmSessionUri = serverUri + "/api/runtime/sys/v1.0/login-states/UserLogin"; | ||
this.frmSessionUri = serverUri + "/api/runtime/sys/v1.0/UserLogin"; | ||
this.beSessionUri = serverUri + "/" + beUri + "/service/createsession"; | ||
@@ -149,2 +149,26 @@ } | ||
}; | ||
/** | ||
* 清空FrmSessionId | ||
*/ | ||
/** | ||
* 清空FrmSessionId | ||
*/ | ||
BefSessionService.prototype.clearFrmSessionId = /** | ||
* 清空FrmSessionId | ||
*/ | ||
function () { | ||
this.frmSessionId = null; | ||
}; | ||
/** | ||
* 清空BeSessionId | ||
*/ | ||
/** | ||
* 清空BeSessionId | ||
*/ | ||
BefSessionService.prototype.clearBeSessionId = /** | ||
* 清空BeSessionId | ||
*/ | ||
function () { | ||
this.beSessionId = null; | ||
}; | ||
BefSessionService.decorators = [ | ||
@@ -151,0 +175,0 @@ { type: core_1.Injectable }, |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"BefSessionService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":15,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":51,"character":26},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"getFrmSessionId":[{"__symbolic":"method"}],"setFrmSessionId":[{"__symbolic":"method"}],"createFrmSessionId":[{"__symbolic":"method"}],"getBeSessionId":[{"__symbolic":"method"}],"setBeSessionId":[{"__symbolic":"method"}],"createBeSession":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"BefSessionService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":15,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":51,"character":26},{"__symbolic":"reference","name":"string"},{"__symbolic":"reference","name":"string"}]}],"getFrmSessionId":[{"__symbolic":"method"}],"setFrmSessionId":[{"__symbolic":"method"}],"createFrmSessionId":[{"__symbolic":"method"}],"getBeSessionId":[{"__symbolic":"method"}],"setBeSessionId":[{"__symbolic":"method"}],"createBeSession":[{"__symbolic":"method"}],"clearFrmSessionId":[{"__symbolic":"method"}],"clearBeSessionId":[{"__symbolic":"method"}]}}}}] |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2701043
20750