Ejemplo n.º 1
0
    /// <summary>
    /// 获取验证码
    /// </summary>
    /// <param name="go"></param>
    private void OnToGetVerificationHandler(GameObject go)
    {
        string phoneNum = _resetNameLb.value;

        if (!IsPhoneNum(phoneNum))
        {
            UtilTools.ShowMessage(GameText.GetStr("login_name_empty"), TextColor.WHITE);
            return;
        }
        if (_bUpdateCooldwon)
        {
            UtilTools.ShowMessage(GameText.GetStr("try_later"));
            return;
        }
        _bUpdateCooldwon = true;
        if (sdk.SDKManager.isAppStoreVersion())
        {
            LoginInputController.startUpMono.PhoneVerificationCode(phoneNum, "1002", "IOS");
        }
        else
        {
            UtilTools.GetAvmpSign(phoneNum, 1002);
        }
        //
    }