diff --git a/Host/Views.Mobile/User/IndexInfo.cshtml b/Host/Views.Mobile/User/IndexInfo.cshtml index 9834fe5..c94bc43 100644 --- a/Host/Views.Mobile/User/IndexInfo.cshtml +++ b/Host/Views.Mobile/User/IndexInfo.cshtml @@ -351,10 +351,6 @@
《中华人民共和国网络安全法》第二十四条规定: 网络运营者为用户办理网络接入、域名注册服务,办理固定电话、移动电话等入网手续,或者为用户提供信息发布、即时通讯等服务,在与用户签订协议或者确认提供服务时,应当要求用户提供真实身份信息。用户不提供真实身份信息的,网络运营者不得为其提供相关服务。
1、为了你的帐号安全请勿使用他人手机号或身份信息
@@ -312,17 +315,13 @@ function realname(){ let id_code = $('#real-name-code').val(), - name = $('#real-name-name').val(), - phone = $('#real-name-phone').val(); + name = $('#real-name-name').val(); + @* phone = $('#real-name-phone').val(); *@ if(id_code.length <= 0){ alert("抱歉!请重新输入身份证号!"); return; } - if(phone.length != 11){ - alert("抱歉!请重新输入手机号!"); - return; - } if(name.length <= 0){ alert("抱歉!请重新输入姓名!"); return; @@ -339,7 +338,6 @@ cookie:document.cookie, id_code: id_code, name: name, - phone: phone } @@ -360,7 +358,7 @@ return ; } if (res.Code == 30000) { - alert('该身份已经进行认证,无法再次进行认证!'); + alert('该身份已经进行认证,无法再次进行认证,联系在线客服行处理!'); window.location.href='/User/Index'; return ; } diff --git a/Services/Hncore.Pass.BaseInfo/Service/ManageService.cs b/Services/Hncore.Pass.BaseInfo/Service/ManageService.cs index 9091c8f..b8843d4 100644 --- a/Services/Hncore.Pass.BaseInfo/Service/ManageService.cs +++ b/Services/Hncore.Pass.BaseInfo/Service/ManageService.cs @@ -62,8 +62,6 @@ namespace Hncore.Pass.BaseInfo.Service { BusinessException.Throw("密码错误"); } - manage.TenantId = 1; - _dbContext.Set().Update(manage); return await LoginInternal(manage); } diff --git a/Services/Hncore.Pass.BaseInfo/Service/UserService.cs b/Services/Hncore.Pass.BaseInfo/Service/UserService.cs index cd8fbc2..5e567c2 100644 --- a/Services/Hncore.Pass.BaseInfo/Service/UserService.cs +++ b/Services/Hncore.Pass.BaseInfo/Service/UserService.cs @@ -351,7 +351,7 @@ namespace Hncore.Pass.BaseInfo.Service manangeDic[minKv.Key] = manangeDic[minKv.Key] + 1; - if (manger_info.RoleId == 100 && manger_info.TenantId == 1 && DateTime.Now.Hour<23) { + if (manger_info.RoleId == 100 && manger_info.TenantId == 1 && DateTime.Now.Hour<23 && DateTime.Now.Hour>8) { AliSmsService.Send("SMS_462001365", new { name = manger_info.RealName,phone=userEntity.Phone }, "聚IP", manger_info.Phone); } diff --git a/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs b/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs index e3d90cb..a53c2a1 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductAccountService.cs @@ -82,6 +82,11 @@ namespace Hncore.Pass.Vpn.Service { return await this.Query(true).FirstOrDefaultAsync(m => m.Account == accout); } + + public async Task GetAccountNotRefundInfo(string accout) + { + return await this.Query(true).FirstOrDefaultAsync(m => m.Account == accout && m.DeleteTag == 0); + } public async Task GetAccountInfo(int packageId,string accout) { diff --git a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs index cbf1d38..655dfe2 100644 --- a/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs +++ b/Services/Hncore.Pass.Vpn/Service/ProductOrderService.cs @@ -544,7 +544,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, { BusinessException.Throw($"账号【{account}】不存在"); } - var accountInfo = await m_ProductAccountService.GetAccountInfo(account); + var accountInfo = await m_ProductAccountService.GetAccountNotRefundInfo(account); if (accountInfo.Status == AccountStatus.Refund) { BusinessException.Throw($"已退款的账号禁止续费,请重新开号"); @@ -942,6 +942,9 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, accountEntity.Raw = ret.Data.ToString(); await m_ProductAccountService.Update(accountEntity); } + if (accountEntity.PackageId == 13) { + await Task.Delay(30); + } }); if (accountError.Has()) { @@ -1252,7 +1255,7 @@ FROM product_order where {where} GROUP BY Channel,ProductName order by Channel, await m_AgentUserService.Update(agentEntity); } var managerEntity = await m_ManageService.GetById(userEntity.ManagerId.ToInt()); - if (managerEntity.TenantId == 1 && managerEntity.RoleId == 100 && DateTime.Now.Hour<23) { + if (managerEntity.TenantId == 1 && managerEntity.RoleId == 100 && DateTime.Now.Hour<23 && DateTime.Now.Hour>8) { AliSmsService.Send("SMS_462300235", new { name = userEntity.ManagerName,phone=userEntity.Phone }, "聚IP", managerEntity.Phone); } return new ApiResult(1);