Browse Source

Merge branch 'feature/Redmine-17825-Email_Template' of http://202.166.220.79:3000/IME-LONDON/MOBILE_API into feature/Redmine-17825-Email_Template

# Conflicts:
#	JsonRx/Config/ResponseMsg.json
feature/Redmine-17825-Email_Template
shakun 5 months ago
parent
commit
87ff1703d7
  1. 3
      Common/Model/Config/ResponseMsgType.cs
  2. 7
      JsonRx/Config/ResponseMsg.json
  3. 4
      Repository/Mobile/MobileServicesRepo.cs

3
Common/Model/Config/ResponseMsgType.cs

@ -262,6 +262,9 @@ namespace Common.Model.Config
[Description("mobile/newUserRegister")]
USER_REGISTER_FAIL_7,
[Description("mobile/newUserRegister")]
NEW_USER_REGISTER_FAIL_8,
[Description("mobile/requestOTP")]
REQUEST_OTP_SUCCESS_1,

7
JsonRx/Config/ResponseMsg.json

@ -759,6 +759,11 @@
"Message": "Password does not match with confirm password!",
"Lang": "en"
},
{
"Key": "NEW_USER_REGISTER_FAIL_8",
"Message": "Invalid referral code!",
"Lang": "en"
},
{
"Key": "NEW_USER_REGISTER_FAIL_6",
"Message": "Password is missing!",
@ -1901,7 +1906,7 @@
},
{
"Key": "INVITE_MESSAGE_BODY",
"Message": "You and your friend will each be given @rewardAmount £ in bonus credit. There may be minimum send requirements.",
"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.",
"Lang": "en"
},
{

4
Repository/Mobile/MobileServicesRepo.cs

@ -1387,6 +1387,10 @@ namespace Repository.Mobile
{
enumString = RESPONSE_MSG.NEW_USER_REGISTER_FAIL_3.ToString();
}
else if (res.ResponseCode.Equals("8"))
{
enumString = RESPONSE_MSG.NEW_USER_REGISTER_FAIL_8.ToString();
}
var map = Utilities.GetLanguageMapping(enumString, lang);
return new JsonRxResponse { ErrorCode = res.ResponseCode.Equals("0") ? "0" : "1", Msg = map.Message, Id = res.Id, Extra = res.Extra };

Loading…
Cancel
Save