Parcourir la source

支付宝提交待商户签约打日志

lcl il y a 1 an
Parent
commit
ea0f74798c
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      AppStart/Alipay/AlipayFunction.cs

+ 2 - 1
AppStart/Alipay/AlipayFunction.cs

@@ -65,9 +65,10 @@ namespace MySystem
             string result = "";
             try
             {
+                function.WriteLog(DateTime.Now.ToString() + "\n" + Newtonsoft.Json.JsonConvert.SerializeObject(request), "提交代商户签约");
                 AlipayOpenAgentConfirmResponse response = client.Execute(request);
                 result = response.Body;
-                function.WriteLog(result, "提交代商户签约");
+                function.WriteLog(result + "\n\n", "提交代商户签约");
             }
             catch (Exception ex)
             {