예제 #1
0
        public ServiceResult <bool> VerifyUnbindAccountCombine(BaseCombineVerifyModel im)
        {
            new MerchantAccountComponent().VerifyUnBindAccountCombine(this.GetMerchantAccountId(), im.SMSCode, im.GoogleCode);

            return(new ServiceResult <bool>
            {
                Data = true
            });
        }
        public ServiceResult <bool> VerifyCloseCombine(BaseCombineVerifyModel im)
        {
            new AuthenticatorComponent().VerifyCloseCombine(this.GetUser(), im.SMSCode, im.GoogleCode);

            return(new ServiceResult <bool>
            {
                Data = true
            });
        }
        public ServiceResult <bool> VerifyBindCombine(BaseCombineVerifyModel im)
        {
            new AuthenticatorComponent().VerifyBindCombine(this.GetMerchantAccountId(), im.SMSCode);

            return(new ServiceResult <bool>
            {
                Data = true
            });
        }
예제 #4
0
        public ServiceResult <bool> VerifyUpdateCellphoneCombine(BaseCombineVerifyModel im)
        {
            new SecurityComponent().VerifyUpdateCellphoneCombine(this.GetUser(), im.SMSCode, im.GoogleCode);

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