|
@@ -209,6 +209,13 @@ namespace MySystem
|
|
|
//返回到余额
|
|
|
// OpAccount(db, order, order.UserId, order.TotalPrice / pro.ProductCount, pro.ProductCount);
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ //扣减备用金
|
|
|
+ OpReserve(db, order, order.UserId, order.TotalPrice, 2, 0, "商城购机");
|
|
|
+ //返回到余额
|
|
|
+ OpLeaderAccount(db, order, order.UserId, order.TotalPrice / pro.ProductCount, pro.ProductCount);
|
|
|
+ }
|
|
|
}
|
|
|
//获得100元奖励
|
|
|
OpAccount(db, order, order.UserId, 100, pro.ProductCount);
|
|
@@ -355,7 +362,6 @@ namespace MySystem
|
|
|
function.WriteLog("\r\n\r\n", "推荐下单奖励监控日志");
|
|
|
}
|
|
|
|
|
|
-
|
|
|
//推荐王
|
|
|
if(pro.ProductId == 29)
|
|
|
{
|