|
@@ -299,7 +299,7 @@ namespace MySystem
|
|
|
{
|
|
|
if(order.SettleAmount <= 0 && order.Status > 0 && order.IsAct == 1)
|
|
|
{
|
|
|
- string text = function.GetWebRequest(Library.ConfigurationManager.AppSettings["SpHost"].ToString() + "/Api/PublicMethod/GetSettleOrderAmount?orderNo=" + order.SeoTitle + "&date=" + order.UpdateDate.Value.ToString("yyyy-M-d"));
|
|
|
+ string text = function.GetWebRequest(Library.ConfigurationManager.AppSettings["SpHost"].ToString() + "/Api/PublicMethod/GetSettleOrderAmount?orderNo=" + order.SeoTitle + "&date=" + order.CreateDate.Value.ToString("yyyy-M-d"));
|
|
|
order.SettleAmount = int.Parse(function.CheckInt(text));
|
|
|
db.SaveChanges();
|
|
|
}
|