Ver código fonte

盛付通商户换绑或解绑日志

lcl 11 meses atrás
pai
commit
3100141a0a
1 arquivos alterados com 4 adições e 1 exclusões
  1. 4 1
      AppStart/Helper/PublicImportDataService.cs

+ 4 - 1
AppStart/Helper/PublicImportDataService.cs

@@ -589,7 +589,10 @@ namespace MySystem
             }
             signString = signString.TrimEnd('&');
             req.Add("mac", SftEncrypt(signString));
-            string result = function.PostWebRequest(SftReqUrl + "bindOrUnbindTerminalSn", Newtonsoft.Json.JsonConvert.SerializeObject(req), "application/json");
+            string reqString = Newtonsoft.Json.JsonConvert.SerializeObject(req);
+            function.WriteLog(DateTime.Now.ToString() + "\n" + reqString, "盛付通商户换绑或解绑日志");
+            string result = function.PostWebRequest(SftReqUrl + "bindOrUnbindTerminalSn", reqString, "application/json");
+            function.WriteLog(result + "\n\n\n", "盛付通商户换绑或解绑日志");
             return result;
         }