管理员领取用户
This commit is contained in:
@@ -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 (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);
|
||||
// }
|
||||
var order = new ProductOrderEntity()
|
||||
{
|
||||
AccountCount = 1,
|
||||
@@ -622,6 +622,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
||||
accounts = accounts.Distinct().ToList();
|
||||
|
||||
var userEntity = await m_UserService.GetById(order.UserId);
|
||||
|
||||
var user_remark = "";
|
||||
|
||||
if(order.ProductId == 8||order.ProductId == 7) {
|
||||
@@ -637,6 +638,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
||||
var end_time = DateTime.Now.AddDays(order.DayCount);
|
||||
if (order.PackageName == "测试卡" || order.PackageName == "测试卡(高级)" || order.PackageName == "测试卡(普通)") {
|
||||
end_time = DateTime.Now.AddHours(order.DayCount);
|
||||
userEntity.ProductAccountCount = 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -838,6 +840,8 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
||||
}
|
||||
|
||||
|
||||
userEntity.pay_time = DateTime.Now.ToString();
|
||||
await m_UserService.Update(userEntity);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user