Compare commits

..

2 Commits

Author SHA1 Message Date
f0c69201f5 UserController: companyColor (ashek bhai) 2026-04-30 15:14:49 +06:00
f75d332d91 merge 2026-04-30 15:10:35 +06:00
11 changed files with 31 additions and 94 deletions

Binary file not shown.

View File

@ -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}"
}
]
}
]
}
]
}

View File

@ -1,6 +0,0 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}

View File

@ -16,6 +16,7 @@ namespace cel.hrm.mobile.api.Controllers
{ {
string address = ""; string address = "";
string companyName = ""; string companyName = "";
string companyColor = "";
try try
{ {
string domain = string.Empty; string domain = string.Empty;
@ -29,68 +30,61 @@ namespace cel.hrm.mobile.api.Controllers
switch (domain) switch (domain)
{ {
case "celimited.com": case "celimited.com":
address = "https://celbd.com/celhrmmobiletest/api/Mobile/"; //address = "https://celbd.com/celhrmmobiletest/api/Mobile/";
companyName = "CEL"; companyName = "CEL";
//address = "http://100.100.100.89:45457/api/Mobile/"; companyColor = "red";
break; //address = "http://100.100.100.15:45456/api/Mobile/";
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/";
address = "https://celbd.com/petromaxHRUAT/api/Mobile/"; address = "https://celbd.com/petromaxHRUAT/api/Mobile/";
break; 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 "lifung.com":
case "lfsourcing.com": case "lfsourcing.com":
case "neotangent.com": case "neotangent.com":
case "lfmilesgroup.com": case "lfmilesgroup.com":
address = "https://celclouds.com/lifungbd/api/Mobile/"; //address = "https://celclouds.com/lifungbd/api/Mobile/";
companyName = "LF"; companyName = "LF";
//address = "http://100.100.100.15:45457/api/Mobile/"; companyColor = "red";
address = "http://100.100.100.15:45457/api/Mobile/";
break; break;
case "hm.com": case "hm.com":
case "HM.COM": case "HM.COM":
case "arket.com": case "arket.com":
case "weekday.com": case "weekday.com":
address = "https://bdpohr01.azurewebsites.net/api/Mobile/"; //address = "https://bdpohr01.azurewebsites.net/api/Mobile/";
companyName = "H&M"; companyName = "H&M";
//address = "http://100.100.100.19:45455/api/Mobile/"; companyColor = "blue";
address = "https://celbd.com/hnmuat/api/Mobile/";
break; break;
case "wartsila.com": case "wartsila.com":
address = "https://celclouds.com/WartsilaHR/api/Mobile/"; //address = "https://celclouds.com/WartsilaHR/api/Mobile/";
companyName = "Wartsila"; companyName = "Wartsila";
//address = "http://100.100.100.19:45456/api/Mobile/"; companyColor = "blue";
address = "http://100.100.100.19:45456/api/Mobile/";
break; break;
case "texebo-bd.com": 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/"; address = "https://hris.texebo-bd.net/texebohrms/api/Mobile/";
else
address = "https://celclouds.com/texebohrms/api/Mobile/";
companyName = "Tex-Ebo"; companyName = "Tex-Ebo";
//address = "http://100.100.100.19:45457/api/Mobile/"; companyColor = "blue";
//address = "https://celbd.com/texebo/api/Mobile/";
break; break;
case "duncanbd.com": case "duncanbd.com":
address = "https://hrm.duncanbd.net/api/Mobile/"; //address = "https://hrm.duncanbd.net/api/Mobile/";
//address = "https://celclouds.com/texebohrms/api/Mobile/"; //address = "https://celclouds.com/texebohrms/api/Mobile/";
companyName = "Duncan BD"; companyName = "Duncan BD";
//address = "http://100.100.100.19:45457/api/Mobile/"; companyColor = "blue";
break; address = "http://100.100.100.19:45457/api/Mobile/";
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; break;
case "customdomain.com": case "customdomain.com":
@ -111,7 +105,7 @@ namespace cel.hrm.mobile.api.Controllers
{ {
return StatusCode(StatusCodes.Status500InternalServerError, e.Message); return StatusCode(StatusCodes.Status500InternalServerError, e.Message);
} }
return Ok("companyname#" + companyName + "#" + "address#" + address + "#"); return Ok("companyname#" + companyName + "#" + "companyColor#" + companyColor + "#" + "address#" + address + "#");
} }
} }
} }

View File

@ -5,7 +5,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
<Project> <Project>
<PropertyGroup> <PropertyGroup>
<_PublishTargetUrl>D:\mob api link</_PublishTargetUrl> <_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 /> <LastFailureDetails />
</PropertyGroup> </PropertyGroup>
</Project> </Project>

View File

@ -2,7 +2,7 @@
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup> <PropertyGroup>
<ActiveDebugProfile>IIS Express</ActiveDebugProfile> <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>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor> <DebuggerFlavor>ProjectDebugger</DebuggerFlavor>