package company import ( "fmt" "hongze/hongze_task/models" "hongze/hongze_task/services/alarm_msg" ) // 正式转试用,删除不续约归因内容 func DeleteCompanNoRenewedAscribe(companyId ,productId int) () { var err error defer func() { if err != nil { msg := fmt.Sprint("companyId:", companyId,"productId:", productId) go alarm_msg.SendAlarmMsg("正式转试用,删除不续约归因内容失败:"+err.Error()+msg, 2) } }() err = models.DeleteCompanNoRenewedAscribe(companyId,productId) return }