Commit 7f410429 刘韬

1

1 个父辈 8ecd930a
......@@ -440,15 +440,10 @@ namespace BLL
}
bool updatereelid(Dictionary<string, string> key, out string errmsg)
{
errmsg = "";
errmsg = "";
try
{
foreach (var item in key)
{
LogNet.log.Info("接口上传信息(" + item.Key+":"+item.Value+")");
}
LogNet.log.Info($"接口上传信息 url: {config.HttpReelID}, data: {JsonConvert.SerializeObject(key)}");
if (!string.IsNullOrEmpty(config.HttpReelID))
{
Dictionary<string, object> pairs = new Dictionary<string, object>();
......
......@@ -79,9 +79,10 @@ namespace Model
}
request.AddJsonBody(jsonobject);
IRestResponse response = client.Execute(request);
string s = response.Content;
if (wlog)
LogNet.log.Info("Return:" + s);
LogNet.log.Info("Return:" + s + "," + response.ErrorMessage);
return s;
}
private static string FormatContent(string s)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!