|
@@ -221,7 +221,7 @@ namespace MySystem
|
|
OpAccount(db, order, order.UserId, 100, pro.ProductCount);
|
|
OpAccount(db, order, order.UserId, 100, pro.ProductCount);
|
|
//推荐奖励
|
|
//推荐奖励
|
|
DirectPrize(db, order.Id, order.UserId, pro.ProductCount);
|
|
DirectPrize(db, order.Id, order.UserId, pro.ProductCount);
|
|
- //推荐下单上级获得30天的机具循环天数
|
|
|
|
|
|
+ //推荐下单上级获得30天的机具循环天数(盟主自己得)
|
|
var posList = db.PosMachinesTwo.Select(m => new { m.Id, m.UserId, m.BindingState, m.RecycEndDate }).Where(m => m.UserId == order.UserId && m.BindingState == 0 && m.RecycEndDate != null).ToList();
|
|
var posList = db.PosMachinesTwo.Select(m => new { m.Id, m.UserId, m.BindingState, m.RecycEndDate }).Where(m => m.UserId == order.UserId && m.BindingState == 0 && m.RecycEndDate != null).ToList();
|
|
foreach (var subPos in posList)
|
|
foreach (var subPos in posList)
|
|
{
|
|
{
|