作者 tangxvhui

更新调整 短信发送规则

... ... @@ -4,7 +4,6 @@ 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"
)
... ... @@ -75,9 +74,9 @@ func (notices notifyStaffAssess) makeNotify(param *domain.StaffAssess) *domain.L
// ifSend 确认是否发送通知
func (notices notifyStaffAssess) ifSend(index int) (bool, error) {
if constant.Env != "prd" {
return false, nil
}
// if constant.Env != "prd" {
// return false, nil
// }
transactionContext, err := factory.CreateTransactionContext(nil)
if err != nil {
return false, err
... ...