设置价格 折扣
This commit is contained in:
@@ -109,12 +109,12 @@ namespace Home.Controllers
|
||||
} else {
|
||||
m.Title = "9";
|
||||
}
|
||||
if (ProductAccountCount == 0 && m.DayCount == 1){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
if(m.Price<m.MinPrice){
|
||||
m.Price = m.MinPrice;
|
||||
}
|
||||
if (ProductAccountCount == 0 && m.DayCount == 1){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
});
|
||||
}
|
||||
} else {
|
||||
@@ -731,13 +731,13 @@ namespace Home.Controllers
|
||||
if(dis_price<package.Price){
|
||||
package.Price = dis_price;
|
||||
}
|
||||
if(package.Price<package.MinPrice){
|
||||
package.Price = package.MinPrice;
|
||||
}
|
||||
|
||||
if (ProductAccountCount == 0 && package.DayCount == 1){
|
||||
package.Price = 0.1M;
|
||||
}
|
||||
if(package.Price<package.MinPrice){
|
||||
package.Price = package.MinPrice;
|
||||
}
|
||||
|
||||
return View("buy", new PackageInfoResponse()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user