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); }
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; }