蘑菇1毛钱天卡
This commit is contained in:
@@ -260,7 +260,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
||||
var userEntity = await m_UserService.GetById(userId);
|
||||
|
||||
//天卡0.1元
|
||||
var ProductAccountCount = userEntity.ProductAccountCount;
|
||||
var ExpiredProductAccountCount = userEntity.ExpiredProductAccountCount;
|
||||
|
||||
var is_verify = userEntity.is_verify;
|
||||
|
||||
@@ -320,11 +320,11 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
||||
price = 1.00M;
|
||||
}
|
||||
|
||||
// if (packageEntity.ProductId != 23 &&packageEntity.ProductId != 22 && ProductAccountCount == 0 && request.OrderType != OrderType.News && (packageEntity.DayCount == 1||packageEntity.DayCount == 2) && request.ConnectCount == 1 && request.OrderType!=OrderType.AgainBuy&& request.OrderType!=OrderType.AgainBuys){
|
||||
// // price = 0.1M;
|
||||
// userEntity.ProductAccountCount = 1;
|
||||
// await m_UserService.Update(userEntity);
|
||||
// }
|
||||
if (request.PackageId == 1012&&ExpiredProductAccountCount == 0 && request.OrderType != OrderType.News && (packageEntity.DayCount == 1||packageEntity.DayCount == 2) && request.ConnectCount == 1 && request.OrderType!=OrderType.AgainBuy&& request.OrderType!=OrderType.AgainBuys){
|
||||
price = 0.1M;
|
||||
userEntity.ExpiredProductAccountCount = 1;
|
||||
await m_UserService.Update(userEntity);
|
||||
}
|
||||
var order = new ProductOrderEntity()
|
||||
{
|
||||
AccountCount = 1,
|
||||
|
||||
Reference in New Issue
Block a user