|
@@ -63,6 +63,22 @@ namespace MySystem.Areas.Api.Controllers
|
|
|
}
|
|
|
return 0;
|
|
|
}
|
|
|
+ public string GetSettleOrderAmountList(string date)
|
|
|
+ {
|
|
|
+ string result = "[";
|
|
|
+ string content = function.ReadInstance("/log/分账回调(好哒)/" + date.Replace("-", "/") + "/content.log");
|
|
|
+ MatchCollection mc = Regex.Matches(content, "{.*?}");
|
|
|
+ foreach(Match m in mc)
|
|
|
+ {
|
|
|
+ JsonData jsonObj = JsonMapper.ToObject(m.Value);
|
|
|
+ int settleAmount = int.Parse(function.CheckInt(jsonObj["settleAmount"].ToString()));
|
|
|
+ string orderNo = jsonObj["orderNo"].ToString();
|
|
|
+ result += "{\"settleAmount\":" + settleAmount + ",\"orderNo\":\"" + orderNo + "\"},";
|
|
|
+ }
|
|
|
+ result = result.TrimEnd(',');
|
|
|
+ result += "]";
|
|
|
+ return result;
|
|
|
+ }
|
|
|
#endregion
|
|
|
|
|
|
}
|