Ejemplo n.º 1
0
        public void VerifyUpdateCellphoneNewCode(UserAccount user, VerifyUpdateCellphoneNewCodeIM im)
        {
            SecurityVerify.Verify(new UpdateCellphoneNewVerifier(), SystemPlatform.FiiiPay, user.Id.ToString(), im.Code);

            var model = SecurityVerify.GetModel <UpdateCellphoneVerify>(new CustomVerifier("UpdateCellphone"), SystemPlatform.FiiiPay, user.Id.ToString());

            model.NewCellphoneVerified = true;
            SecurityVerify.SetModel(new CustomVerifier("UpdateCellphone"), SystemPlatform.FiiiPay, user.Id.ToString(), model);
        }
Ejemplo n.º 2
0
        public ServiceResult <bool> VerifyUpdateCellphoneNewCode(VerifyUpdateCellphoneNewCodeIM im)
        {
            new SecurityComponent().VerifyUpdateCellphoneNewCode(this.GetUser(), im);

            return(new ServiceResult <bool>
            {
                Data = true
            });
        }