コード例 #1
0
        public Status ConfirmCode(string otp, long phone)
        {
            var ipAddress = HttpContext.Connection.RemoteIpAddress;

            communication.log($"code -> {otp}\n phone-> {phone}", MethodBase.GetCurrentMethod().Name, ipAddress.ToString());
            Status status;



            DbSelect select = new DbSelect(Configuration, _hostingEnvironment);

            status = select.VerifySmsOtp(otp, phone);

            return(status);
        }