diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml
index 6a4324f..32f07d7 100644
--- a/Host/Views/Product/Index.cshtml
+++ b/Host/Views/Product/Index.cshtml
@@ -607,7 +607,7 @@
月卡送10天,双月卡赠送1个月,活动截止时间2021年3月31日
(同一个IP账号不限次数,您可对同一账号多次续费都有赠送,每位会员不限账号数量,您可购买多个IP账号都有赠送))
} *@
@if(item.Product.Id == 19){
-
本产品为独享,每个账号对应一个宽带拨号,永不超载,保证了网速及稳定性。
使用时只需设置这个唯一的服务器:1.hhip.vip,在账号列表中点击切换地区即可任意组合自己需要的地区。本产品灵活便捷,欢迎选购
+
本产品为独享,每个账号对应一个宽带拨号,永不超载,保证了网速及稳定性。
使用时只需设置这个唯一的服务器:1.hhip.vip,在账号列表中点击切换地区即可任意组合自己需要的地区
切记一定要指定一下地区,不然会没有网络
购买须知:本产品以下地区屏蔽微信和QQ:北上广深,江苏省全部地区,浙江省全部地区,广东省全部地区,其他地区不受限制
}
diff --git a/Host/Views/User/MyAccounts.cshtml b/Host/Views/User/MyAccounts.cshtml
index 11a81e2..6ebfb6c 100644
--- a/Host/Views/User/MyAccounts.cshtml
+++ b/Host/Views/User/MyAccounts.cshtml
@@ -717,7 +717,7 @@
dataType: "json",
contentType: "application/json",
success: function (res) {
- $("#huohu").html('
统一服务器地址:1.hhip.vip
换地区时无需在设备上更换服务器,只需在此页面选择需要的地区即可,可实现任意城市组合的混拨。
');
+ $("#huohu").html('
统一服务器地址:1.hhip.vip 请不要选择剩余为0的地区
换地区时无需在设备上更换服务器,只需在此页面选择需要的地区即可,可实现任意城市组合的混拨。
');
$("#huohu").append(res.ipmodel);
$("#huohu").append("
");
$("#huohu").append(res.city);
diff --git a/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs b/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs
index c0e8e18..1b61458 100644
--- a/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs
+++ b/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs
@@ -156,7 +156,7 @@ namespace Hncore.Pass.Vpn.Service
{
return new ApiResult(ResultCode.C_INVALID_ERROR, "账号不存在");
}
- if (request.Pwd.NotHas())
+ if (request.Pwd.NotHas()&&request.RePwd.NotHas())
{
return new ApiResult(ResultCode.C_INVALID_ERROR, "密码不能为空");
}
@@ -165,7 +165,7 @@ namespace Hncore.Pass.Vpn.Service
{
return new ApiResult(ResultCode.C_INVALID_ERROR, "远程更新失败");
}
- entity.Pwd = request.Pwd;
+ entity.Pwd = request.RePwd;
await this.Update(entity);
return new ApiResult(1);
}
diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs
index a41f045..6383c19 100644
--- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs
+++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs
@@ -19,6 +19,7 @@ using Hncore.Pass.BaseInfo.Models;
using ScoreType = Hncore.Pass.BaseInfo.Models.ScoreType;
using System.Linq.Expressions;
using Microsoft.EntityFrameworkCore.Internal;
+using Hncore.Infrastructure.SMS;
namespace Hncore.Pass.Vpn.Service
{
@@ -1026,6 +1027,20 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel,
var time = (accountInfo.EndTime - DateTime.Now).Value;
order.RefundRestTime = time.ToString(@"d\天hh\时mm\分");
+ //短信内容
+ var tpl_info = new Dictionary
(){
+ {"product",accountInfo.ProductName},
+ {"package",accountInfo.PackageName },
+ {"connect",accountInfo.ConnectCount.ToString() },
+ {"account",account },
+ {"resttime",order.RefundRestTime},
+ };
+
+
+ if(accountInfo.ProductId==13||accountInfo.ProductId==17){
+ AliSmsService.Send( "SMS_218038707", tpl_info, "聚IP商城", "17626516016");
+ }
+
var againBuy = lastOrder.OrderType == OrderType.AgainBuy || lastOrder.OrderType == OrderType.AgainBuys;
var laoyingXunFei = againBuy && lastOrder.ProductId == 4;