|
|
@@ -1199,7 +1199,7 @@ func (this *OilSupplierCertController) AuditEntityFir() {
|
|
|
toMobile := supplierEntity.Mobile
|
|
|
msg := "您的" + supplierCertEntity.SupplierTypeName + "准入审核通过,请及时确认交费信息!"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
- msgService.HandleMsg(toMobile, msg, "3-1", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId))
|
|
|
+ msgService.HandleMsg(toMobile, msg, "3-1", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId), this.User.Username)
|
|
|
}
|
|
|
|
|
|
//paysvc.AddPaymentinfo(supplierCertEntity.SupplierId, supplierCertEntity.Id, Amount, "1")
|
|
|
@@ -1389,7 +1389,7 @@ func (this *OilSupplierCertController) AuditEntityFir() {
|
|
|
toMobile := supplierEntity.Mobile
|
|
|
msg := "您的" + supplierCertEntity.SupplierTypeName + "准入审核未通过,请及时查看!"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
- msgService.HandleMsg(toMobile, msg, "4-1", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId))
|
|
|
+ msgService.HandleMsg(toMobile, msg, "4-1", supplierCertEntity.CreateBy, supplierEntity.ContactName, strconv.Itoa(supplierCertEntity.CreateUserId), this.User.Username)
|
|
|
errinfo.Message = "提交成功!"
|
|
|
errinfo.Code = 0
|
|
|
this.Data["json"] = &errinfo
|
|
|
@@ -1645,19 +1645,19 @@ func (this *OilSupplierCertController) SendingSMS() {
|
|
|
toMobile := item.Mobile
|
|
|
msg := "您的" + item.SupplierTypeName + "准入还有3个月到期"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
- msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId))
|
|
|
+ msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId), this.User.Username)
|
|
|
}
|
|
|
if currenttime.AddDate(0, 2, 0).Format("2006-01-02") == (item.ApplyTime.Format("2006-01-02")) {
|
|
|
toMobile := item.Mobile
|
|
|
msg := "您的" + item.SupplierTypeName + "准入还有2个月到期"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
- msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId))
|
|
|
+ msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId), this.User.Username)
|
|
|
}
|
|
|
if currenttime.AddDate(0, 1, 0).Format("2006-01-02") == (item.ApplyTime.Format("2006-01-02")) {
|
|
|
toMobile := item.Mobile
|
|
|
msg := "您的" + item.SupplierTypeName + "准入还有1个月到期"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
- msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId))
|
|
|
+ msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId), this.User.Username)
|
|
|
}
|
|
|
}
|
|
|
elapsed := time.Since(t)
|
|
|
@@ -1681,7 +1681,7 @@ func (this *OilSupplierCertController) SendingSMSSupplierFile() {
|
|
|
toMobile := item.Mobile
|
|
|
msg := "您的" + item.ExpireAllFile + "还有1个月到期"
|
|
|
msgService := msg2.GetMsgService(utils.DBE)
|
|
|
- msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId))
|
|
|
+ msgService.HandleMsg(toMobile, msg, "1-1", item.CreateBy, item.ContactName, strconv.Itoa(item.CreateUserId), this.User.Username)
|
|
|
}
|
|
|
}
|
|
|
elapsed := time.Since(t)
|