作者 tangxvhui

调整开关

... ... @@ -4,6 +4,7 @@ import (
"time"
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/application/factory"
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/constant"
"gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain"
)
... ... @@ -43,9 +44,9 @@ func (notices notifyConfirmEvaluationScore) makeNotify(param *domain.SummaryEval
// 适配规则:上级提交评估后 到10号晚23:59前,可以发送
// 适配规则 对未确认的被评估人每隔6个小时进行提醒(23:00-7:00期间不提醒),直到确认
func (notices notifyConfirmEvaluationScore) ifSend(index int) (bool, error) {
// if constant.Env != "prd" {
// return false, nil
// }
if constant.Env != "prd" {
return false, nil
}
//检查时间
nowTime := time.Now()
if nowTime.Day() > 10 {
... ...