蘑菇
This commit is contained in:
@@ -112,7 +112,7 @@ namespace Home.Controllers
|
||||
if(m.Price<m.MinPrice){
|
||||
m.Price = m.MinPrice;
|
||||
}
|
||||
if (ProductAccountCount == 0 && m.DayCount == 1){
|
||||
if (ProductAccountCount == 0 && (m.DayCount == 1||m.DayCount == 2)){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
});
|
||||
@@ -131,7 +131,7 @@ namespace Home.Controllers
|
||||
{
|
||||
m.Price = userPrice.UserPrice;
|
||||
}
|
||||
if (ProductAccountCount == 0 && m.DayCount == 1){
|
||||
if (ProductAccountCount == 0 && (m.DayCount == 1||m.DayCount == 2)){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
});
|
||||
@@ -142,7 +142,7 @@ namespace Home.Controllers
|
||||
{
|
||||
product.Packages.ForEach(m => {
|
||||
m.Title = "9.5";
|
||||
if ( m.DayCount == 1 ){
|
||||
if (m.DayCount == 1||m.DayCount == 2 ){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
});
|
||||
@@ -762,7 +762,7 @@ namespace Home.Controllers
|
||||
package.Price = package.MinPrice;
|
||||
}
|
||||
|
||||
if (ProductAccountCount == 0 && package.DayCount == 1){
|
||||
if (ProductAccountCount == 0 && (package.DayCount == 1 ||package.DayCount == 2)){
|
||||
package.Price = 0.1M;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user