diff --git a/Mtxfw.VipSite/pay/hfpay_notify_url_huiyuan.aspx.cs b/Mtxfw.VipSite/pay/hfpay_notify_url_huiyuan.aspx.cs index 3b99db0..3cde14e 100644 --- a/Mtxfw.VipSite/pay/hfpay_notify_url_huiyuan.aspx.cs +++ b/Mtxfw.VipSite/pay/hfpay_notify_url_huiyuan.aspx.cs @@ -888,7 +888,7 @@ namespace Mtxfw.VipSite } Mtxfw.Utility.Common.WriteHtml("/weixin/8", i.ToString()); ///lym修改 - Mtxfw.Model.P_Guige ggmodel = new DAL.P_Guige().GetModel(Convert.ToInt32(OrderModel.pid)); + Mtxfw.Model.P_Guige ggmodel = new DAL.P_Guige().GetModelByProductId(Convert.ToInt32(OrderModel.pid)); var xfz = ggmodel.G_JG4; DAL.MemberStatistics_huiyuan.UpdteYJ(config, umodel, money, xfz, gtype, dt, OrderModel.ttype, OrderModel.ptype, peitype, OrderModel.orderid, OrderModel.Id, OrderModel.Province, OrderModel.City, OrderModel.County, OrderModel.Tradingarea); diff --git a/Mtxfw.VipSite/xapiajax.ashx.cs b/Mtxfw.VipSite/xapiajax.ashx.cs index 07ca6f5..c6d1194 100644 --- a/Mtxfw.VipSite/xapiajax.ashx.cs +++ b/Mtxfw.VipSite/xapiajax.ashx.cs @@ -16453,7 +16453,7 @@ namespace Mtxfw.VipSite if (utype == 0) { //DAL.MemberStatistics.UpdteYJ(config, umodel, money, money0, money2, money3, gtype, dt, OrderModel.ttype, OrderModel.ptype, peitype, OrderModel.orderid, OrderModel.Id, OrderModel.Province, OrderModel.City, OrderModel.County, OrderModel.Tradingarea); - Mtxfw.Model.P_Guige ggmodel = new DAL.P_Guige().GetModel(Convert.ToInt32(OrderModel.pid)); + Mtxfw.Model.P_Guige ggmodel = new DAL.P_Guige().GetModelByProductId(Convert.ToInt32(OrderModel.pid)); var xfz = ggmodel.G_JG4; ///lym修改 这里变成商城余额支付了 //DAL.MemberStatistics.UpdteYJ(config, umodel, money, money0, money2, money3, gtype, dt, OrderModel.ttype, OrderModel.ptype, peitype, OrderModel.orderid, OrderModel.Id, OrderModel.Province, OrderModel.City, OrderModel.County, OrderModel.Tradingarea); @@ -16466,7 +16466,7 @@ namespace Mtxfw.VipSite money0 = money1; } - Mtxfw.Model.P_Guige ggmodel = new DAL.P_Guige().GetModel(Convert.ToInt32(OrderModel.pid)); + Mtxfw.Model.P_Guige ggmodel = new DAL.P_Guige().GetModelByProductId(Convert.ToInt32(OrderModel.pid)); var xfz = ggmodel.G_JG4; ///lym修改 这里变成热卖商城余额支付了,看得我懵逼了 //DAL.MemberStatistics.UpdteYJ(config, umodel, money, money0, money2, money3, gtype, dt, OrderModel.ttype, OrderModel.ptype, peitype, OrderModel.orderid, OrderModel.Id, OrderModel.Province, OrderModel.City, OrderModel.County, OrderModel.Tradingarea);