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); }
public ServiceResult <bool> VerifyUpdateCellphoneNewCode(VerifyUpdateCellphoneNewCodeIM im) { new SecurityComponent().VerifyUpdateCellphoneNewCode(this.GetUser(), im); return(new ServiceResult <bool> { Data = true }); }