订单、账号添加代理商标记
This commit is contained in:
@@ -49,5 +49,6 @@ namespace Hncore.Pass.Vpn.Domain
|
|||||||
}
|
}
|
||||||
|
|
||||||
public string Raw { get; set; }
|
public string Raw { get; set; }
|
||||||
|
public int agent_id {get; set;}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -51,7 +51,7 @@ namespace Hncore.Pass.Vpn.Domain
|
|||||||
|
|
||||||
public decimal? BackAmount { get; set; } = 0;
|
public decimal? BackAmount { get; set; } = 0;
|
||||||
public string RefundReason { get; set; }
|
public string RefundReason { get; set; }
|
||||||
|
public int agent_id {get; set;}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -78,6 +78,7 @@ namespace Hncore.Pass.Vpn.Domain
|
|||||||
public int? ManagerId { get; set; } = 0;
|
public int? ManagerId { get; set; } = 0;
|
||||||
public string ManagerName { get; set; }
|
public string ManagerName { get; set; }
|
||||||
public int is_verify { get; set; }
|
public int is_verify { get; set; }
|
||||||
|
public int agent_id {get; set;}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -270,7 +270,8 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
|||||||
EndTime = DateTime.Now.AddDays(packageEntity.DayCount),
|
EndTime = DateTime.Now.AddDays(packageEntity.DayCount),
|
||||||
PayChannel = request.PayChannel,
|
PayChannel = request.PayChannel,
|
||||||
Channel = request.Channel,
|
Channel = request.Channel,
|
||||||
IsAutoRefund = productEntity.AutoRefund
|
IsAutoRefund = productEntity.AutoRefund,
|
||||||
|
agent_id = userEntity.agent_id
|
||||||
};
|
};
|
||||||
if (request.OrderType == OrderType.New || request.OrderType == OrderType.AgainBuy)
|
if (request.OrderType == OrderType.New || request.OrderType == OrderType.AgainBuy)
|
||||||
{
|
{
|
||||||
@@ -534,6 +535,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
|
|||||||
ChargeStatus = AccountChargeStatus.Normal,
|
ChargeStatus = AccountChargeStatus.Normal,
|
||||||
UserId = order.UserId,
|
UserId = order.UserId,
|
||||||
UserCode = order.UserName,
|
UserCode = order.UserName,
|
||||||
|
agent_id = order.agent_id
|
||||||
};
|
};
|
||||||
accountEntitys.Add(accountEntity);
|
accountEntitys.Add(accountEntity);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user