Iniit
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
class TenantInfo {
|
||||
constructor() {
|
||||
}
|
||||
static SetCurrentTenant(tenant) {
|
||||
TenantInfo.CurrentTenant = tenant;
|
||||
}
|
||||
static GetCurrentTenant() {
|
||||
var t = new TenantInfo();
|
||||
t.ServerUrl = "localhost";
|
||||
t.TenantId = 100010;
|
||||
TenantInfo.CurrentTenant = t;
|
||||
return TenantInfo.CurrentTenant;
|
||||
}
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"tenantInfo.js","sourceRoot":"","sources":["tenantInfo.ts"],"names":[],"mappings":"AAAA,MAAM,UAAU;IAMZ;IAEA,CAAC;IAOD,MAAM,CAAC,gBAAgB,CAAC,MAAkB;QACtC,UAAU,CAAC,aAAa,GAAG,MAAM,CAAC;IACtC,CAAC;IAED,MAAM,CAAC,gBAAgB;QAEnB,IAAI,CAAC,GAAG,IAAI,UAAU,EAAE,CAAC;QACzB,CAAC,CAAC,SAAS,GAAG,WAAW,CAAC;QAC1B,CAAC,CAAC,QAAQ,GAAG,MAAM,CAAC;QACpB,UAAU,CAAC,aAAa,GAAG,CAAC,CAAC;QAC7B,OAAO,UAAU,CAAC,aAAa,CAAC;IAEpC,CAAC;CAEJ"}
|
||||
+1
@@ -0,0 +1 @@
|
||||
class TenantInfo{constructor(){}static SetCurrentTenant(n){TenantInfo.CurrentTenant=n}static GetCurrentTenant(){var n=new TenantInfo;return n.ServerUrl="localhost",n.TenantId=100010,TenantInfo.CurrentTenant=n,TenantInfo.CurrentTenant}}
|
||||
Reference in New Issue
Block a user