|
|
@@ -1573,19 +1573,19 @@ func (this *OilSupplierCertController) SendingSMS() {
|
|
|
for _, item := range list {
|
|
|
if currenttime.AddDate(0, 3, 0).Format("2006-01-02") == (item.ApplyTime.Format("2006-01-02")) {
|
|
|
toMobile := item.Mobile
|
|
|
- msg := "您的" + item.SupplierTypeName + "准入还有3个月到期"
|
|
|
+ msg := "您好,贵公司市场准入有效期还有3个月到期,请在市场管理信息系统中进行年审申请。谢谢。"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId), loginName)
|
|
|
}
|
|
|
if currenttime.AddDate(0, 2, 0).Format("2006-01-02") == (item.ApplyTime.Format("2006-01-02")) {
|
|
|
toMobile := item.Mobile
|
|
|
- msg := "您的" + item.SupplierTypeName + "准入还有2个月到期"
|
|
|
+ msg := "您好,贵公司市场准入有效期还有2个月到期,请在市场管理信息系统中进行年审申请。谢谢。"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId), loginName)
|
|
|
}
|
|
|
if currenttime.AddDate(0, 1, 0).Format("2006-01-02") == (item.ApplyTime.Format("2006-01-02")) {
|
|
|
toMobile := item.Mobile
|
|
|
- msg := "您的" + item.SupplierTypeName + "准入还有1个月到期"
|
|
|
+ msg := "您好,贵公司市场准入有效期还有1个月到期,请在市场管理信息系统中进行年审申请。谢谢。"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId), loginName)
|
|
|
}
|
|
|
@@ -1618,7 +1618,7 @@ func (this *OilSupplierCertController) SendingSMSSupplierFile() {
|
|
|
fileName = item.NeedAllFile
|
|
|
}
|
|
|
toMobile := item.Mobile
|
|
|
- msg := "您的" + fileName + "还有" + strconv.Itoa(month) + "个月到期"
|
|
|
+ msg := "您好,贵公司企业资质还有" + strconv.Itoa(month) + "个月即将到期,请在市场管理信息系统中及时做信息变更。谢谢。"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
loginName := "TimingTask"
|
|
|
if this.User != nil {
|