From 85f6dc41237ae9b435a7b1b8bcedf39aaf4dd49a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sat, 31 Jul 2021 10:07:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=9F=E6=98=9F=E6=97=A0=E5=B0=BD=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index e16cbdb..be6c33c 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -606,7 +606,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, var userEntity = await m_UserService.GetById(order.UserId); var user_remark = ""; - if(order.ProductId == 8) { + if(order.ProductId == 8||order.ProductId == 7) { //用户信息 user_remark = "姓名:"+userEntity.Name.Substring(0,1) + "**,手机号:" + userEntity.Phone.Substring(0,3) + "***,身份证号:" + userEntity.id_code.Substring(0,3) + "***,注:因用户信息属于敏感隐私信息,所以部分隐藏展示,如有需要可联系我司调取!"; @@ -666,7 +666,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, accountEntity.Account, accountEntity.Pwd, accountEntity.ConnectCount,1,2); } else if(accountEntity.ProductId.Value == 8 || accountEntity.ProductId.Value == 7){ var account_remark = accountEntity.Account + "-" + user_remark; - ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, accountEntity.Account, accountEntity.Pwd, accountEntity.ConnectCount,1,2); + ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, account_remark, accountEntity.Pwd, accountEntity.ConnectCount,1,2); } else { ret = await m_AgentService.NewAccount(order.Id, accountEntity.PackageId.Value, accountEntity.Account, accountEntity.Pwd, accountEntity.ConnectCount); }