|
@ -49,6 +49,7 @@ class SendMoneyCodeViewController: UIViewController { |
|
|
super.viewDidLoad() |
|
|
super.viewDidLoad() |
|
|
self.keyboardSetup() |
|
|
self.keyboardSetup() |
|
|
self.setup() |
|
|
self.setup() |
|
|
|
|
|
self.requestOtpCode() |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
override func viewDidDisappear(_ animated: Bool) { |
|
|
override func viewDidDisappear(_ animated: Bool) { |
|
@ -115,7 +116,6 @@ class SendMoneyCodeViewController: UIViewController { |
|
|
self.viewSampleButton.setTitle("view_sample_text".localized(), for: UIControlState.normal) |
|
|
self.viewSampleButton.setTitle("view_sample_text".localized(), for: UIControlState.normal) |
|
|
self.submitButton.setTitle("submit_text".localized(), for: .normal) |
|
|
self.submitButton.setTitle("submit_text".localized(), for: .normal) |
|
|
self.notNowButton.setTitle("not_now_text".localized(), for: .normal) |
|
|
self.notNowButton.setTitle("not_now_text".localized(), for: .normal) |
|
|
self.requestOtpCode() |
|
|
|
|
|
verificationCodeTextField.delegate = self |
|
|
verificationCodeTextField.delegate = self |
|
|
self.backGourndBorderView.layer.borderWidth = 0.5 |
|
|
self.backGourndBorderView.layer.borderWidth = 0.5 |
|
|
self.backGourndBorderView.layer.borderColor = UIColor.init(hex: "#EBECED").cgColor |
|
|
self.backGourndBorderView.layer.borderColor = UIColor.init(hex: "#EBECED").cgColor |
|
@ -164,9 +164,8 @@ class SendMoneyCodeViewController: UIViewController { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private func requestOtpCode() { |
|
|
private func requestOtpCode() { |
|
|
// request otp here |
|
|
|
|
|
return |
|
|
|
|
|
let customerId = "" |
|
|
|
|
|
|
|
|
// request otp |
|
|
|
|
|
let customerId = Utility.getMyUserName() |
|
|
self.requestOtp(customerId: customerId, success: { (message) in |
|
|
self.requestOtp(customerId: customerId, success: { (message) in |
|
|
print(message) |
|
|
print(message) |
|
|
}) { (error) in |
|
|
}) { (error) in |
|
|