Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f0c69201f5 | |||
| f75d332d91 |
Binary file not shown.
|
|
@ -1,51 +0,0 @@
|
|||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "D:\\Mobail Gateway\\",
|
||||
"Documents": [],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": -1,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:0:0:{1c64b9c2-e352-428e-a56d-0ace190b99a6}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:1043313769:0:{83107a3e-496a-485e-b455-16ddb978e55e}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:130:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:131:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:132:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}"
|
||||
},
|
||||
{
|
||||
"$type": "Bookmark",
|
||||
"Name": "ST:133:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.metadata.v8.bin
Normal file
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.metadata.v8.bin
Normal file
Binary file not shown.
Binary file not shown.
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.projects.v8.bin
Normal file
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.projects.v8.bin
Normal file
Binary file not shown.
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.strings.v8.bin
Normal file
BIN
.vs/ProjectEvaluation/cel.hrm.mobile.api.strings.v8.bin
Normal file
Binary file not shown.
|
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"ExpandedNodes": [
|
||||
""
|
||||
],
|
||||
"PreviewInSolutionExplorer": false
|
||||
}
|
||||
|
|
@ -16,6 +16,7 @@ namespace cel.hrm.mobile.api.Controllers
|
|||
{
|
||||
string address = "";
|
||||
string companyName = "";
|
||||
string companyColor = "";
|
||||
try
|
||||
{
|
||||
string domain = string.Empty;
|
||||
|
|
@ -29,18 +30,18 @@ namespace cel.hrm.mobile.api.Controllers
|
|||
switch (domain)
|
||||
{
|
||||
case "celimited.com":
|
||||
address = "https://celbd.com/celhrmmobiletest/api/Mobile/";
|
||||
//address = "https://celbd.com/celhrmmobiletest/api/Mobile/";
|
||||
companyName = "CEL";
|
||||
//address = "http://100.100.100.89:45457/api/Mobile/";
|
||||
break;
|
||||
case "idlc.com":
|
||||
companyName = "IDLC";
|
||||
address = "https://celbd.com/IDLC_UAT/api/Mobile/";
|
||||
companyColor = "red";
|
||||
//address = "http://100.100.100.15:45456/api/Mobile/";
|
||||
address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "shvenergybd.com":
|
||||
//address = "https://celclouds.com/petromax/api/Mobile/";
|
||||
address = "https://celclouds.com/petromax/api/Mobile/";
|
||||
companyName = "Petromax";
|
||||
address = "http://100.100.100.89:45457/api/Mobile/";
|
||||
companyColor = "red";
|
||||
//address = "http://100.100.100.19:45456/api/Mobile/";
|
||||
//address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
|
||||
break;
|
||||
|
||||
|
|
@ -50,6 +51,7 @@ namespace cel.hrm.mobile.api.Controllers
|
|||
case "lfmilesgroup.com":
|
||||
//address = "https://celclouds.com/lifungbd/api/Mobile/";
|
||||
companyName = "LF";
|
||||
companyColor = "red";
|
||||
address = "http://100.100.100.15:45457/api/Mobile/";
|
||||
break;
|
||||
|
||||
|
|
@ -57,32 +59,32 @@ namespace cel.hrm.mobile.api.Controllers
|
|||
case "HM.COM":
|
||||
case "arket.com":
|
||||
case "weekday.com":
|
||||
address = "https://bdpohr01.azurewebsites.net/api/Mobile/";
|
||||
//address = "https://bdpohr01.azurewebsites.net/api/Mobile/";
|
||||
companyName = "H&M";
|
||||
//address = "http://100.100.100.19:45455/api/Mobile/";
|
||||
companyColor = "blue";
|
||||
address = "https://celbd.com/hnmuat/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "wartsila.com":
|
||||
address = "https://celclouds.com/WartsilaHR/api/Mobile/";
|
||||
//address = "https://celclouds.com/WartsilaHR/api/Mobile/";
|
||||
companyName = "Wartsila";
|
||||
//address = "http://100.100.100.19:45456/api/Mobile/";
|
||||
companyColor = "blue";
|
||||
address = "http://100.100.100.19:45456/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "texebo-bd.com":
|
||||
//temporary
|
||||
if (DateTime.UtcNow > new DateTime(2026, 3, 11, 16, 0, 0))
|
||||
address = "https://hris.texebo-bd.net/texebohrms/api/Mobile/";
|
||||
else
|
||||
address = "https://celclouds.com/texebohrms/api/Mobile/";
|
||||
address = "https://hris.texebo-bd.net/texebohrms/api/Mobile/";
|
||||
companyName = "Tex-Ebo";
|
||||
//address = "http://100.100.100.19:45457/api/Mobile/";
|
||||
companyColor = "blue";
|
||||
//address = "https://celbd.com/texebo/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "duncanbd.com":
|
||||
address = "https://hrm.duncanbd.net/api/Mobile/";
|
||||
//address = "https://hrm.duncanbd.net/api/Mobile/";
|
||||
//address = "https://celclouds.com/texebohrms/api/Mobile/";
|
||||
companyName = "Duncan BD";
|
||||
//address = "http://100.100.100.19:45457/api/Mobile/";
|
||||
companyColor = "blue";
|
||||
address = "http://100.100.100.19:45457/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "customdomain.com":
|
||||
|
|
@ -103,7 +105,7 @@ namespace cel.hrm.mobile.api.Controllers
|
|||
{
|
||||
return StatusCode(StatusCodes.Status500InternalServerError, e.Message);
|
||||
}
|
||||
return Ok("companyname#" + companyName + "#" + "address#" + address + "#");
|
||||
return Ok("companyname#" + companyName + "#" + "companyColor#" + companyColor + "#" + "address#" + address + "#");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user