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,70 +30,63 @@ 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 "idlc2.com":
|
||||
companyName = "IDLC";
|
||||
address = "http://100.100.100.89:45456/api/Mobile/";
|
||||
//address = "https://celbd.com/IDLCMobileTest/api/Mobile/";
|
||||
break;
|
||||
case "shvenergybd.com":
|
||||
//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.15:45456/api/Mobile/";
|
||||
address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "shvenergybd.com":
|
||||
address = "https://celclouds.com/petromax/api/Mobile/";
|
||||
companyName = "Petromax";
|
||||
companyColor = "red";
|
||||
//address = "http://100.100.100.19:45456/api/Mobile/";
|
||||
//address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "lifung.com":
|
||||
case "lfsourcing.com":
|
||||
case "neotangent.com":
|
||||
case "lfmilesgroup.com":
|
||||
address = "https://celclouds.com/lifungbd/api/Mobile/";
|
||||
//address = "https://celclouds.com/lifungbd/api/Mobile/";
|
||||
companyName = "LF";
|
||||
//address = "http://100.100.100.15:45457/api/Mobile/";
|
||||
companyColor = "red";
|
||||
address = "http://100.100.100.15:45457/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "hm.com":
|
||||
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 "accl.group-qa.com":
|
||||
address = "https://celbd.com/Autocrop/api/Mobile/";
|
||||
//address = "https://celclouds.com/texebohrms/api/Mobile/";
|
||||
companyName = "Autocrop";
|
||||
//address = "http://100.100.100.19:45457/api/Mobile/";
|
||||
break;
|
||||
|
||||
case "customdomain.com":
|
||||
Console.WriteLine("This is a Custom Domain address.");
|
||||
break;
|
||||
|
|
@ -111,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 + "#");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||
<Project>
|
||||
<PropertyGroup>
|
||||
<_PublishTargetUrl>D:\mob api link</_PublishTargetUrl>
|
||||
<History>True|2026-08-18T08:24:52.6684166Z;True|2026-07-06T11:15:51.9249038+06:00;True|2026-06-30T15:15:45.0382352+06:00;True|2026-06-30T15:15:34.9664428+06:00;True|2026-06-30T14:57:13.7094860+06:00;True|2026-06-30T14:57:01.7789575+06:00;True|2026-06-30T14:40:00.6184627+06:00;True|2026-06-30T12:51:33.1191123+06:00;True|2024-08-29T15:47:29.7935405+06:00;True|2024-08-28T12:17:07.3753533+06:00;True|2024-08-25T14:48:29.6318775+06:00;True|2024-08-25T12:29:37.1677516+06:00;True|2024-07-15T17:47:18.4638143+06:00;</History>
|
||||
<History>True|2024-08-29T09:47:29.7935405Z;True|2024-08-28T12:17:07.3753533+06:00;True|2024-08-25T14:48:29.6318775+06:00;True|2024-08-25T12:29:37.1677516+06:00;True|2024-07-15T17:47:18.4638143+06:00;</History>
|
||||
<LastFailureDetails />
|
||||
</PropertyGroup>
|
||||
</Project>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ActiveDebugProfile>IIS Express</ActiveDebugProfile>
|
||||
<NameOfLastUsedPublishProfile>D:\Mobail Gateway\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
|
||||
<NameOfLastUsedPublishProfile>D:\cel.hrm.mobile.api\Properties\PublishProfiles\FolderProfile2.pubxml</NameOfLastUsedPublishProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user