コード例 #1
0
        public string CodeDecrypt(string encryptCode)
        {
            TkDebug.AssertArgumentNullOrEmpty(encryptCode, "encryptCode", null);

            string        url     = WeUtil.GetUrl(WeCardConst.CODE_DECRYPT);
            WeCodeDecrypt request = new WeCodeDecrypt(encryptCode);
            var           result  = WeUtil.PostToUri(url, request.WriteJson(), new WeCode());

            return(result.Code);
        }
コード例 #2
0
ファイル: WeCardInfo.cs プロジェクト: ZLLselfRedeem/zllinmitu
        public string CodeDecrypt(string encryptCode)
        {
            TkDebug.AssertArgumentNullOrEmpty(encryptCode, "encryptCode", null);

            string url = WeUtil.GetUrl(WeCardConst.CODE_DECRYPT);
            WeCodeDecrypt request = new WeCodeDecrypt(encryptCode);
            var result = WeUtil.PostToUri(url, request.WriteJson(), new WeCode());
            return result.Code;
        }