|
@@ -55,7 +55,7 @@ namespace MySystem
|
|
if (edit != null)
|
|
if (edit != null)
|
|
{
|
|
{
|
|
UserRankItem orderUser = PosCouponPrizeService.Instance.GetUserLevel(db, edit.UserId);
|
|
UserRankItem orderUser = PosCouponPrizeService.Instance.GetUserLevel(db, edit.UserId);
|
|
- string ParentNav = orderUser.ParentNav + "," + orderUser.Id + ",";
|
|
|
|
|
|
+ string ParentNav = orderUser.ParentNav;
|
|
string[] ParentNavList = ParentNav.Trim(',').Replace(",,", ",").Split(',');
|
|
string[] ParentNavList = ParentNav.Trim(',').Replace(",,", ",").Split(',');
|
|
Array.Reverse(ParentNavList);
|
|
Array.Reverse(ParentNavList);
|
|
int index = 0;
|
|
int index = 0;
|
|
@@ -65,12 +65,12 @@ namespace MySystem
|
|
UserRankItem parentUser = PosCouponPrizeService.Instance.GetUserLevel(db, int.Parse(ParentId));
|
|
UserRankItem parentUser = PosCouponPrizeService.Instance.GetUserLevel(db, int.Parse(ParentId));
|
|
index += 1;
|
|
index += 1;
|
|
|
|
|
|
- if(parentUser.OperateLevel > 1 && PosCouponPrizeService.Instance.CheckOpReserve(opdb, 16000M, parentUser.Id) && !PrizeFlag)
|
|
|
|
|
|
+ if(parentUser.OperateLevel > 1 && PosCouponPrizeService.Instance.CheckOpReserve(opdb, 160000M, parentUser.Id) && !PrizeFlag)
|
|
{
|
|
{
|
|
//扣减备用金
|
|
//扣减备用金
|
|
- PosCouponPrizeService.Instance.OperateAmountChange(opdb, parentUser.Id, 16000, 2, 1, "购买运营中心", true);
|
|
|
|
|
|
+ PosCouponPrizeService.Instance.OperateAmountChange(opdb, parentUser.Id, 160000, 2, 1, "购买运营中心", true);
|
|
//返回到余额
|
|
//返回到余额
|
|
- PosCouponPrizeService.Instance.OperateAmountChange(opdb, parentUser.Id, 16000, 1, 2, "购买运营中心", true);
|
|
|
|
|
|
+ PosCouponPrizeService.Instance.OperateAmountChange(opdb, parentUser.Id, 160000, 1, 2, "购买运营中心", true);
|
|
|
|
|
|
//发放5888推荐奖励
|
|
//发放5888推荐奖励
|
|
PosCouponPrizeService.Instance.OpAccount(db, parentUser.Id, parentUser.Id, 5888, 1);
|
|
PosCouponPrizeService.Instance.OpAccount(db, parentUser.Id, parentUser.Id, 5888, 1);
|