Browse Source

乐刷费率接口日志

lichunlei 2 years ago
parent
commit
1695a3062e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      AppStart/Helper/SetDepositPostService.cs

+ 4 - 0
AppStart/Helper/SetDepositPostService.cs

@@ -609,6 +609,8 @@ namespace MySystem
 
 
         public string LSReqFunc(string apiPath, string data, int BrandId)
         public string LSReqFunc(string apiPath, string data, int BrandId)
         {
         {
+            function.WriteLog(DateTime.Now.ToString(), "设置乐刷机具费率");
+            function.WriteLog(data, "设置乐刷机具费率");
             string aeskey = function.MD5_16(Guid.NewGuid().ToString());
             string aeskey = function.MD5_16(Guid.NewGuid().ToString());
             string req = "{";
             string req = "{";
             if (BrandId == 4)
             if (BrandId == 4)
@@ -625,7 +627,9 @@ namespace MySystem
             req += "\"data\":\"" + LSAesEncrypt(data, aeskey) + "\",";
             req += "\"data\":\"" + LSAesEncrypt(data, aeskey) + "\",";
             req += "\"sign\":\"" + LSEncrypt(aeskey) + "\"";
             req += "\"sign\":\"" + LSEncrypt(aeskey) + "\"";
             req += "}";
             req += "}";
+            function.WriteLog(req, "设置乐刷机具费率");
             string result = function.PostWebRequest(LSReqUrl + apiPath, req, "application/json");
             string result = function.PostWebRequest(LSReqUrl + apiPath, req, "application/json");
+            function.WriteLog(result + "\n\n", "设置乐刷机具费率");
             return result;
             return result;
         }
         }