@foreach (var item in Model)
{
- @if(item.Product.Id == 5){
+ @if(item.Product.Id == 5 || item.Product.Id == 14){
@@ -242,12 +271,15 @@
@if(item.Product.Id == 5){
}
+ @if(item.Product.Id == 14){
+
@foreach (var package in item.Packages.Where(m => m.IsTest == 0 && m.Status == 1))
{
- @if(package.Id == 86){
+ @if(package.Id == 86||package.Id == 88){
@@ -273,6 +305,19 @@
+ } else if(package.Id == 71) {
+
+
+
@package.Price元
+
原价:@package.LinePrice元
+
@(Math.Round(package.Price/package.DayCount,2))元/天
+
+
@package.Name
+
@package.Profile
+
+

+
+
} else {
diff --git a/Services/Hncore.Pass.Vpn/Service/AgentClient7Service.cs b/Services/Hncore.Pass.Vpn/Service/AgentClient7Service.cs
index 8ad3d1a..332a113 100644
--- a/Services/Hncore.Pass.Vpn/Service/AgentClient7Service.cs
+++ b/Services/Hncore.Pass.Vpn/Service/AgentClient7Service.cs
@@ -187,7 +187,7 @@ namespace Hncore.Pass.Vpn.Service
{"conn_max",connCount.ToString() },
{"test",packageKey=="test"?"1":"0" },
{"type",packageKey=="test"?"d":packageKey },
- {"paynum","1" },
+ {"paynum",payCount.ToString() },
};
var title = GetOpTitle("NewAccount", account);
LogHelper.Info(title, map.ToJson());
diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs
index bde4bde..51b568c 100644
--- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs
+++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs
@@ -530,7 +530,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
await accountEntitys.ForEachAsync(async accountEntity =>
{
var ret = new ApiResult();
- if(accountEntity.PackageId.Value == 86){
+ if(accountEntity.PackageId.Value == 86 || accountEntity.PackageId.Value == 88){
ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, accountEntity.Account, accountEntity.Pwd, accountEntity.ConnectCount,1,2);
} else {
ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, accountEntity.Account, accountEntity.Pwd, accountEntity.ConnectCount);