示例#1
0
        public SignItem GetSignItem(IAlipayRequest <T> request, string responseBody)
        {
            if (string.IsNullOrEmpty(responseBody))
            {
                return(null);
            }

            var signItem = new SignItem()
            {
                Sign           = GetSign(responseBody),
                SignSourceDate = GetSignSourceData(request, responseBody)
            };

            return(signItem);
        }
示例#2
0
        public SignItem GetSignItem(IAlipayRequest <T> request, string body)
        {
            if (string.IsNullOrEmpty(body))
            {
                return(null);
            }

            var signItem = new SignItem
            {
                Sign           = GetSign(body),
                SignSourceData = GetSignSourceData(request, body)
            };

            return(signItem);
        }