|
|
|
@ -86,7 +86,7 @@ namespace JobCreateFee
|
|
|
|
|
//testrtnobject.message.Add(testfee);
|
|
|
|
|
//var rtn = JsonConvert.SerializeObject(testrtnobject);
|
|
|
|
|
|
|
|
|
|
log.Debug($"数据返回:{rtnStr}");
|
|
|
|
|
log.Debug($"数据返回{reqObj.company}:{rtnStr}");
|
|
|
|
|
//var objRtn = JsonConvert.DeserializeAnonymousType(rtn, new { status = "", message = "" });
|
|
|
|
|
|
|
|
|
|
DealReturnJson(rtnStr);
|
|
|
|
@ -95,14 +95,14 @@ namespace JobCreateFee
|
|
|
|
|
sendstr = JsonConvert.SerializeObject(reqObj);
|
|
|
|
|
log.Debug($"发送包{reqObj.company}:{sendstr}");
|
|
|
|
|
rtnStr = WebRequestHelper.DoPost(reqUrl, sendstr, reqTimeout * 1000);
|
|
|
|
|
|
|
|
|
|
log.Debug($"数据返回{reqObj.company}:{rtnStr}");
|
|
|
|
|
DealReturnJson(rtnStr);
|
|
|
|
|
|
|
|
|
|
reqObj.company = "CMA_TXG";
|
|
|
|
|
sendstr = JsonConvert.SerializeObject(reqObj);
|
|
|
|
|
log.Debug($"发送包{reqObj.company}:{sendstr}");
|
|
|
|
|
rtnStr = WebRequestHelper.DoPost(reqUrl, sendstr, reqTimeout * 1000);
|
|
|
|
|
|
|
|
|
|
log.Debug($"数据返回{reqObj.company}:{rtnStr}");
|
|
|
|
|
DealReturnJson(rtnStr);
|
|
|
|
|
|
|
|
|
|
void DealReturnJson(string rtn)
|
|
|
|
|