@using Hncore.Pass.Vpn.Response.Product @using Hncore.Infrastructure.Extension @using Hncore.Pass.BaseInfo.Response @using Hncore.Infrastructure.Serializer; @using Hncore.Pass.BaseInfo.Service @using Hncore.Infrastructure.Common @model PackageInfoResponse @inject UserService m_UserService @inject Hncore.Pass.Vpn.Service.ProductAccountService m_AccountService @{ ViewData["Title"] = "购买产品"; UserLoginModel user = null; Hncore.Pass.BaseInfo.Models.User userEntity = new Hncore.Pass.BaseInfo.Models.User(); if (this.Context.Request.Cookies.TryGetValue("userInfo", out string userCookie)) { user = userCookie.FromJsonTo(); userEntity = await m_UserService.GetById(user.Id); } var randomPwd = ValidateCodeHelper.MakeNumCode(3).ToLower(); var randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower(); @* while (m_AccountService.Exist(m => m.Account == randomAccount1)) { randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(4).ToLower(); } *@ var randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower(); var product_id = Model.Product.Id; if (product_id == 20 ||product_id == 21||product_id == 26||product_id == 27) { randomAccount1 = ValidateCodeHelper.MakeCharCode(2).ToLower() + ValidateCodeHelper.MakeNumCode(5).ToLower(); randomAccountMutil = ValidateCodeHelper.MakeCharCode(6).ToLower(); randomPwd = ValidateCodeHelper.MakeNumCode(6).ToLower(); } @* while (m_AccountService.Exist(m =>m.Account.StartsWith(randomAccountMutil))) { randomAccountMutil = ValidateCodeHelper.MakeCharCode(3).ToLower(); } *@ }
当前已选产品:
@Model.Product.Name - @Model.Package.Name   @if(Model.Package.Price < 60 && (Model.Package.Id == 64||Model.Package.Id == 1004)){
¥60.00
} else { @if (Model.Package.IsTest == 0) {
¥@Model.Package.Price 元
} else {
¥1.0元
} }


*请务必选好所需商品,换货会产生费用

@if (Model.Package.Name == "天卡") {

*天卡不支持退款,请谨慎购买

}
@if (Model.Package.IsTest == 0) {
单个注册
批量注册
}
IP产品账号:
@if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21 && Model.Package.ProductId !=27) {

4至10位字母或数字或组合

} else {

7至10位字母或数字或组合

}
@if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21 && Model.Package.ProductId !=27) { 4至10位字母或数字或组合 } else { 7至10位字母或数字或组合 }
IP产品密码:
@if (Model.Package.ProductId !=27) {

1至10位字母或数字或组合

} else {

7至10位字母或数字或组合

}
@if (Model.Package.ProductId !=27) { 1至10位字母或数字或组合 } else { 7至10位字母或数字或组合 }
@if (Model.Package.IsTest == 0) {
连接数:
-
+
1
可同时在线的设备数
选择优惠券:
淘宝每次下单获得优惠券
}
代理下会员号:
您下边的会员号
余额:
当前账户余额@(userEntity.RestAmount)前往充值
支付方式:
总金额:
{{OneTotalAmount}}
应付款:
{{OnePayAmount}}{{auto_discount_text}}

{{Tip}}

批量注册的账号会使用【账号前缀】+【开始数】+【个数】顺序进行注册,

如:注册账号前缀为【user】开始数为【2】个数为【10】,则注册的账号为:user2,user3,user4,....user11

IP账号前缀:
@if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21&& Model.Package.ProductId !=27) {

3至8位字母或数字或组合

} else {

6至8位字母或数字或组合

}
@if (Model.Package.ProductId !=20 && Model.Package.ProductId !=21&& Model.Package.ProductId !=27) { 3至8位字母或数字或组合 } else { 6至8位字母或数字或组合 }
开始号:
本批次账号的起始账号的尾数
注册个数:

一次最多注册500个

本批次的账号个数
即将生成的账号:

{{acount_list}}

IP产品密码:
@if ( Model.Package.ProductId !=27) {

1至10位字母或数字或组合

} else {

7至10位字母或数字或组合

}
@if (Model.Package.ProductId !=27) { 1至10位字母或数字或组合 } else { 7至10位字母或数字或组合 }
连接数:
-
+
可同时在线的设备数
选择优惠券:
淘宝每次下单获得优惠券
代理下会员号:
您下边的会员号
余额:
当前账户余额@(userEntity.RestAmount)前往充值
支付方式:
总金额:
{{MoreTotalAmount}}
应付款:
{{MorePayAmount}}{{auto_discount_text}}

{{Tip}}

微信支付 | 收银台

@*

订单将在25分钟后关闭,请及时付款

*@

@**@

@*

二维码已经失效,请刷新后重新扫码支付

*@

新开订单

¥{{OrderInfo.OtherPayAmount}}

收款方:聚IP

下单时间:{{OrderInfo.CreateTime}}

订单号:{{OrderInfo.OrderNo}}

@section Scripts{ }