|
@@ -609,6 +609,8 @@ namespace MySystem
|
|
|
|
|
|
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 req = "{";
|
|
|
if (BrandId == 4)
|
|
@@ -625,7 +627,9 @@ namespace MySystem
|
|
|
req += "\"data\":\"" + LSAesEncrypt(data, aeskey) + "\",";
|
|
|
req += "\"sign\":\"" + LSEncrypt(aeskey) + "\"";
|
|
|
req += "}";
|
|
|
+ function.WriteLog(req, "设置乐刷机具费率");
|
|
|
string result = function.PostWebRequest(LSReqUrl + apiPath, req, "application/json");
|
|
|
+ function.WriteLog(result + "\n\n", "设置乐刷机具费率");
|
|
|
return result;
|
|
|
}
|
|
|
|