|
@@ -29,7 +29,7 @@ namespace GFGGame
|
|
|
this.modal = true;
|
|
|
|
|
|
_ui.m_btnSubmit.onClick.Add(OnClickBtnSubmit);
|
|
|
- _ui.m_btnSendCode.onClick.Add(OnBtnGetCode);
|
|
|
+ //_ui.m_btnSendCode.onClick.Add(OnBtnGetCode);
|
|
|
|
|
|
//输入限制
|
|
|
_ui.m_inputAccount.restrict = "[0-9A-Za-z_]";
|
|
@@ -80,18 +80,18 @@ namespace GFGGame
|
|
|
//手机号码
|
|
|
string phoneNumber = _ui.m_inputPhone.text;
|
|
|
//验证码
|
|
|
- string code = _ui.m_inputCode.text;
|
|
|
+ //string code = _ui.m_inputCode.text;
|
|
|
if (string.IsNullOrEmpty(account))
|
|
|
{
|
|
|
PromptController.Instance.ShowFloatTextPrompt("请输入账号");
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
- if (string.IsNullOrEmpty(code))
|
|
|
- {
|
|
|
- PromptController.Instance.ShowFloatTextPrompt("请输入验证码");
|
|
|
- return;
|
|
|
- }
|
|
|
+ // if (string.IsNullOrEmpty(code))
|
|
|
+ // {
|
|
|
+ // PromptController.Instance.ShowFloatTextPrompt("请输入验证码");
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
if (account.Length < 6) //最长输入在UI编辑器中做了限制
|
|
|
{
|
|
@@ -133,7 +133,7 @@ namespace GFGGame
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- LoginController.RegisterRoleInfo(account, password, realName, idNumberStr, code, phoneNumber).Coroutine();
|
|
|
+ LoginController.RegisterRoleInfo(account, password, realName, idNumberStr, "", phoneNumber).Coroutine();
|
|
|
}
|
|
|
}
|
|
|
}
|