到期短信模板和页面修改

This commit is contained in:
“wanyongkang”
2023-07-16 16:30:04 +08:00
parent f22ef6578f
commit e9731d700b
6 changed files with 27 additions and 15 deletions

View File

@@ -30,6 +30,14 @@
<p><a asp-action="info" asp-controller="article" asp-route-id="6"><img src="~/m/img/pc.png"></a></p>
<p>windows电脑教程</p>
</div>
<div class="item">
<p><a asp-action="info" asp-controller="article" asp-route-id="21"><img src="~/img/pc.png"></a></p>
<p>MAC电脑教程</p>
</div>
<div class="item">
<p><a asp-action="info" asp-controller="article" asp-route-id="10"><img src="~/img/pc.png"></a></p>
<p>软路由教程</p>
</div>
</div>
<div class="newsList">

View File

@@ -13,7 +13,7 @@
<div class="loginCenter">
<p><img src="~/m/img/phone.png"><input type="text" name="" id="username" value="" placeholder="手机号" /></p>
<p><img src="~/m/img/password.png"><input type="text" name="" id="password" value="" placeholder="密码" /></p>
<p><img src="~/m/img/password.png"><input type="text" name="" id="password" value="" placeholder="请输入新密码" /></p>
<p class="yzm"><img src="~/m/img/yanzhengma.png"><input type="text" name="" id="yanzhengma" value="" placeholder="验证码" /><button type="button" class="btnBlue" onclick="getCode(this)">获取验证码</button></p>
</div>
<p><button type="button" class="btnLogin" onclick="reg()">找回密码</button></p>

View File

@@ -88,6 +88,7 @@
$(".regClose").click(function () {
$(".main_reg").addClass("animated bounceOutDown");
$(".mask").hide();
$(".main_find").hide();
setTimeout(function () {
$(".main_reg").removeClass("animated bounceOutDown");
$(".main_reg").hide();
@@ -240,25 +241,25 @@
<img src="~/img/award.png">
</div>
<div class="user">
<img src="~/img/phone.png"><input type="text" name="" id="username" value="" placeholder="请输入手机号码" />
<img src="~/img/phone.png"><span style="color: red;">*</span><input type="text" name="" id="username" value="" placeholder="请输入手机号码" />
</div>
<div class="pwd">
<img src="~/img/password.png"><input type="password" name="" id="password" value="" placeholder="请输入密码" />
<img src="~/img/password.png"><span style="color: red;">*</span><input type="password" name="" id="password" value="" placeholder="请输入密码" />
</div>
<div class="yzm">
<img src="~/img/yanzhengma.png"><input type="text" name="" id="yanzhengma" value="" placeholder="请输入验证码" /><button class="btn btn-primary" onclick="getCode(this)">获取验证码</button>
<img src="~/img/yanzhengma.png"><span style="color: red;">*</span><input type="text" name="" id="yanzhengma" value="" placeholder="请输入验证码" /><button class="btn btn-primary" onclick="getCode(this)">获取验证码</button>
</div>
<div class="user">
<img src="~/img/phone.png"><input type="text" name="" id="wxhao" value="" placeholder="请输入微信号" />
<img src="~/img/phone.png"><input type="text" name="" id="wxhao" value="" placeholder="请输入微信号(选填)" />
</div>
<div class="user">
<img src="~/img/phone.png"><input type="text" name="" id="qqhao" value="" placeholder="请输入QQ" />
<img src="~/img/phone.png"><input type="text" name="" id="qqhao" value="" placeholder="请输入QQ(选填)" />
</div>
<p class="tixing">*手机号不是IP账号请登录后开通IP账号*</p>
<p class="tixing"><input type="checkbox" name="" id="xieyi" value="" />我同意<a href="/LineList/xieyi" target="_blank">《聚IP JUIP.COM用户注册协议》</a></p>
<p class="denglu"><button type="button" class="btn btn-login" onclick="reg()">注册</button></p>
<p class="zhiyin grayText">已有账号?<a href="#" class="loginLink">立即登录</a></p>
<p class="zhiyin grayText">已有账号?<a href="/User/WebLogin" class="loginLink">立即登录</a></p>
</div>
<!-- login -->
<div class="mask"></div>
@@ -820,6 +821,7 @@
console.log(res);
if (res.Code == 10000) {
alert("重置成功,请登录");
window.location.href = "/User/WebLogin";
} else {
alert(res.Message)
}

View File

@@ -317,25 +317,25 @@
<img src="~/img/award.png">
</div>
<div class="user">
<img src="~/img/phone.png"><input type="text" id="username" value="" placeholder="请输入手机号码" />
<img src="~/img/phone.png"><span style="color: red;">*</span><input type="text" id="username" value="" placeholder="请输入手机号码" />
</div>
<div class="pwd">
<img src="~/img/password.png"><input type="password" id="password" value="" placeholder="请输入密码" />
<img src="~/img/password.png"><span style="color: red;">*</span><input type="password" id="password" value="" placeholder="请输入密码" />
</div>
<div class="yzm">
<img src="~/img/yanzhengma.png"><input type="text" id="yanzhengma" value="" placeholder="请输入验证码" /><button class="btn btn-primary" onclick="getCode(this)">获取验证码</button>
<img src="~/img/yanzhengma.png"><span style="color: red;">*</span><input type="text" id="yanzhengma" value="" placeholder="请输入验证码" /><button class="btn btn-primary" onclick="getCode(this)">获取验证码</button>
</div>
<div class="user">
<img src="~/img/phone.png"><input type="text" name="" id="wxhao" value="" placeholder="请输入微信号" />
<img src="~/img/phone.png"><input type="text" name="" id="wxhao" value="" placeholder="请输入微信号(选填)" />
</div>
<div class="user">
<img src="~/img/phone.png"><input type="text" name="" id="qqhao" value="" placeholder="请输入QQ" />
<img src="~/img/phone.png"><input type="text" name="" id="qqhao" value="" placeholder="请输入QQ(选填)" />
</div>
<p class="tixing">*手机号不是IP账号请登录后开通IP账号*</p>
<p class="tixing"><input type="checkbox" name="" id="xieyi" value="" />我同意<a href="/LineList/xieyi" target="_blank">《聚IP JUIP.COM用户注册协议》</a></p>
<p class="denglu"><button type="button" class="btn btn-reg">注册</button></p>
<p class="zhiyin grayText">已有账号?<a href="#" class="loginLink">立即登录</a></p>
<p class="zhiyin grayText">已有账号?<a href="/User/WebLogin" class="loginLink">立即登录</a></p>
</div>
<!-- login -->
<div class="mask"></div>
@@ -503,6 +503,7 @@
console.log(res);
if (res.Code == 10000) {
alert("重置成功,请登录");
window.location.href = "/User/WebLogin";
} else {
alert(res.Message)
}

View File

@@ -110,7 +110,7 @@ namespace Hncore.Pass.Vpn.Job
} else if(tip=="还有一天过期"){
ret = AliSmsService.Send("SMS_199222107", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
} else {
ret = AliSmsService.Send("SMS_202820825", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
ret = AliSmsService.Send("SMS_462015488", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
}
// var ret = AliSmsService.Send("SMS_193505090", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
}

View File

@@ -124,7 +124,8 @@ namespace Hncore.Pass.Vpn.Service
//主要是用来定时执行的
public async Task<List<ProductAccountEntity>> GetExpireingAccountsTime(int day)
{
var sql = $"select * from product_account where DATEDIFF(EndTime,now())={day} AND PackageName!='测试卡' AND PackageName!='天卡' GROUP BY UserId";
var sql = $"select * from product_account WHERE DATEDIFF(EndTime,now())=1 AND `PackageName` NOT LIKE '天卡' AND `PackageName` NOT LIKE '测试卡' GROUP BY UserId";
// var sql = $"select * from product_account where DATEDIFF(EndTime,now())={day} AND PackageName!='测试卡' AND PackageName!='天卡' GROUP BY UserId";
return this.m_DbContext.SqlQuery<ProductAccountEntity>(sql);
}