修改短信模板
This commit is contained in:
@@ -116,11 +116,11 @@ namespace Hncore.Pass.Vpn.Job
|
|||||||
if (userInfo != null && RegexPattern.IsMobile(userInfo.Phone))
|
if (userInfo != null && RegexPattern.IsMobile(userInfo.Phone))
|
||||||
{
|
{
|
||||||
if(tip=="今天过期"){
|
if(tip=="今天过期"){
|
||||||
ret = AliSmsService.Send("SMS_199202299", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
|
ret = AliSmsService.Send("SMS_482845094", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
|
||||||
} else if(tip=="还有一天过期"){
|
} else if(tip=="还有一天过期"){
|
||||||
ret = AliSmsService.Send("SMS_199222107", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
|
ret = AliSmsService.Send("SMS_482865093", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
|
||||||
} else {
|
} else {
|
||||||
ret = AliSmsService.Send("SMS_461965526", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP", userInfo.Phone);
|
ret = AliSmsService.Send("SMS_482965075", 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);
|
// var ret = AliSmsService.Send("SMS_193505090", new { date = account.EndTime.Value.ToString("yyyy-MM-dd hh:mm:ss") }, "聚IP商城", userInfo.Phone);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user