From 09b30e0da8d9fd54c01189a0c3c4e6669a74eba8 Mon Sep 17 00:00:00 2001 From: shakun Date: Wed, 10 Apr 2024 12:49:23 +0545 Subject: [PATCH 1/2] update banner image --- Business/MobileV2/MobileV2Business.cs | 15 +++++++-------- JsonRx/Api/MobileController.cs | 4 +++- JsonRx/Config/ResponseMsg.json | 2 +- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/Business/MobileV2/MobileV2Business.cs b/Business/MobileV2/MobileV2Business.cs index 4a11248..575f5eb 100644 --- a/Business/MobileV2/MobileV2Business.cs +++ b/Business/MobileV2/MobileV2Business.cs @@ -68,23 +68,22 @@ namespace Business.Mobile dashBoardV2.bannerImages.Add(new BannerImages() { - fileName = "one.jpg", - filePath = "https://mobile.imelondon.co.uk:2086/images/banners/1.png", + fileName = "two.jpg", + filePath = "https://mobile.imelondon.co.uk:2086/images/banners/2.png", fileTitle = "file1", - Redirect = true, - RedirectURL = "https://imelondon.co.uk/" + Redirect = false }); dashBoardV2.bannerImages.Add(new BannerImages() { - fileName = "two.jpg", - filePath = "https://mobile.imelondon.co.uk:2086/images/banners/2.png", + fileName = "four.jpg", + filePath = "https://mobile.imelondon.co.uk:2086/images/banners/4.png", fileTitle = "file1", Redirect = false }); dashBoardV2.bannerImages.Add(new BannerImages() { - fileName = "three.jpg", - filePath = "https://mobile.imelondon.co.uk:2086/images/banners/3.png", + fileName = "five.jpg", + filePath = "https://mobile.imelondon.co.uk:2086/images/banners/5.png", fileTitle = "file1", Redirect = false }); diff --git a/JsonRx/Api/MobileController.cs b/JsonRx/Api/MobileController.cs index b4de293..119003f 100644 --- a/JsonRx/Api/MobileController.cs +++ b/JsonRx/Api/MobileController.cs @@ -165,7 +165,8 @@ namespace JsonRx.Api requestOTPModel.DeviceType = Util.GetDeviceType(Request); requestOTPModel.ProcessId = ProcessId; Log.Debug("RequestOTP | REQUEST : " + JsonConvert.SerializeObject(requestOTPModel)); - var staticDataResponse = _requestServices.RequestOTP(requestOTPModel); + JsonRxResponse staticDataResponse = new JsonRxResponse(); + staticDataResponse = _requestServices.RequestOTP(requestOTPModel); return Ok(staticDataResponse); } @@ -219,6 +220,7 @@ namespace JsonRx.Api LogicalThreadContext.Properties[LoggerProperty.CREATEDBY] = model.userId ?? model.pCurrency; LogicalThreadContext.Properties[LoggerProperty.METHODNAME] = "CalculateDefExRate"; LogicalThreadContext.Properties[LoggerProperty.IPADDRESS] = Request.GetClientIpAddress(); + model.DeviceType = Util.GetDeviceType(Request); Log.Debug("CalculateDefExRate | REQUEST : " + JsonConvert.SerializeObject(model)); if (ModelState.IsValid) { diff --git a/JsonRx/Config/ResponseMsg.json b/JsonRx/Config/ResponseMsg.json index 8792386..872beac 100644 --- a/JsonRx/Config/ResponseMsg.json +++ b/JsonRx/Config/ResponseMsg.json @@ -1901,7 +1901,7 @@ }, { "Key": "INVITE_MESSAGE_BODY", - "Message": "You and your friend will each be given £ @rewardAmount in bonus credit. Get £ @RegReward after they successfully register, and £ @TranReward after their first transaction. There may be minimum send requirements. Terms and Conditions.", + "Message": "You and your friend will each be given @rewardAmount £ in bonus credit. There may be minimum send requirements.", "Lang": "en" }, { From 634dae3438d0845cdce0a8056974fdcf4f7ecdf5 Mon Sep 17 00:00:00 2001 From: shakun Date: Wed, 10 Apr 2024 14:42:11 +0545 Subject: [PATCH 2/2] #28335 Provide Cost Rate in FX API for Website --- Business/Mobile/IMobileServices.cs | 2 +- Business/Mobile/MobileServices.cs | 8 ++++---- Common/Model/TranHistoryResponse.cs | 1 + JsonRx/ApiV3/SendTransactionController.cs | 6 +++--- Repository/Mobile/IMobileServicesRepo.cs | 2 +- Repository/Mobile/MobileServicesRepo.cs | 3 ++- Repository/MobileV2/MobileV2Repo.cs | 1 + 7 files changed, 13 insertions(+), 10 deletions(-) diff --git a/Business/Mobile/IMobileServices.cs b/Business/Mobile/IMobileServices.cs index 0dec43b..cfc6e8d 100644 --- a/Business/Mobile/IMobileServices.cs +++ b/Business/Mobile/IMobileServices.cs @@ -93,7 +93,7 @@ namespace Business.Mobile JsonRxResponse CheckInfoAgree(string username); - JsonRxResponse GetFieldsByProduct(MappingType type, string customer, string receiverId); + JsonRxResponse GetFieldsByProduct(MappingType type, string customer, string receiverId, string payoutPartner); JsonRxResponse ValidateReferralCode(string referralCode); //JsonRxResponse QueryAddress(string postCode); diff --git a/Business/Mobile/MobileServices.cs b/Business/Mobile/MobileServices.cs index 67e088d..6f51314 100644 --- a/Business/Mobile/MobileServices.cs +++ b/Business/Mobile/MobileServices.cs @@ -2957,7 +2957,7 @@ namespace Business.Mobile } - public JsonRxResponse GetFieldsByProduct(Common.Model.Config.MappingType type, string customerId, string receiverId) + public JsonRxResponse GetFieldsByProduct(Common.Model.Config.MappingType type, string customerId, string receiverId, string payoutPartner) { JsonRxResponse jsonRx = new JsonRxResponse { @@ -2985,7 +2985,7 @@ namespace Business.Mobile else if (type == Common.Model.Config.MappingType.REWARD_POINT) { var response1 = _requestServices.GetRewardFee(customerId); - response1.PaymentOptions = new PaymentOptions() { Options = GetPaymentMethods(receiverId), HeaderText = "How do like to pay?" }; + response1.PaymentOptions = new PaymentOptions() { Options = GetPaymentMethods(receiverId, payoutPartner), HeaderText = "How do you like to pay ?" }; if (response1 != null) { @@ -3045,9 +3045,9 @@ namespace Business.Mobile } - public List