0.1
This commit is contained in:
@@ -121,9 +121,9 @@ namespace Home.Controllers
|
||||
if(m.Price<m.MinPrice){
|
||||
m.Price = m.MinPrice;
|
||||
}
|
||||
if (ProductAccountCount == 0 && (m.DayCount == 1||m.DayCount == 2) && m.Id != 1034&&m.Id != 1040&&m.Id != 1079&&m.Id != 1073){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
// if (ProductAccountCount == 0 && (m.DayCount == 1||m.DayCount == 2) && m.Id != 1034&&m.Id != 1040&&m.Id != 1079&&m.Id != 1073){
|
||||
// m.Price = 0.1M;
|
||||
// }
|
||||
});
|
||||
}
|
||||
} else {
|
||||
@@ -149,9 +149,9 @@ namespace Home.Controllers
|
||||
{
|
||||
m.Price = userPrice.UserPrice;
|
||||
}
|
||||
if (ProductAccountCount == 0 && (m.DayCount == 1||m.DayCount == 2) && m.Id != 1034&&m.Id != 1040&&m.Id != 1079&&m.Id != 1073){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
// if (ProductAccountCount == 0 && (m.DayCount == 1||m.DayCount == 2) && m.Id != 1034&&m.Id != 1040&&m.Id != 1079&&m.Id != 1073){
|
||||
// m.Price = 0.1M;
|
||||
// }
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -169,9 +169,9 @@ namespace Home.Controllers
|
||||
if (m.ProductId == 6||m.ProductId == 5||m.ProductId == 23){
|
||||
m.Title = "9";
|
||||
}
|
||||
if ((m.DayCount == 1||m.DayCount == 2) && m.Id != 1034&&m.Id != 1040 &&m.Id != 1079&&m.Id != 1073){
|
||||
m.Price = 0.1M;
|
||||
}
|
||||
// if ((m.DayCount == 1||m.DayCount == 2) && m.Id != 1034&&m.Id != 1040 &&m.Id != 1079&&m.Id != 1073){
|
||||
// m.Price = 0.1M;
|
||||
// }
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -183,7 +183,6 @@ namespace Home.Controllers
|
||||
{
|
||||
var userId = this.Request.GetUserInfo().UserId;
|
||||
var ret = await m_ProductOrderService.CreateOrder(request, userId);
|
||||
|
||||
if (ret.Code != ResultCode.C_SUCCESS)
|
||||
{
|
||||
return ret;
|
||||
@@ -232,7 +231,7 @@ namespace Home.Controllers
|
||||
}
|
||||
if (ret.Data.OtherPayAmount == 0)
|
||||
{
|
||||
await m_ProductOrderService.ProcessOrderAccount(ret.Data);
|
||||
await m_ProductOrderService.ApiProcessOrderAccount(ret.Data,"api开通");
|
||||
return new ApiResult("00");
|
||||
}
|
||||
|
||||
@@ -809,9 +808,9 @@ namespace Home.Controllers
|
||||
package.Price = package.MinPrice;
|
||||
}
|
||||
|
||||
if (ProductAccountCount == 0 && (package.DayCount == 1 ||package.DayCount == 2)&&package.Id != 1079&&package.Id != 1073){
|
||||
package.Price = 0.1M;
|
||||
}
|
||||
// if (ProductAccountCount == 0 && (package.DayCount == 1 ||package.DayCount == 2)&&package.Id != 1079&&package.Id != 1073){
|
||||
// package.Price = 0.1M;
|
||||
// }
|
||||
|
||||
return View("buy", new PackageInfoResponse()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user