正在显示
1 个修改的文件
包含
3 行增加
和
4 行删除
@@ -4,7 +4,6 @@ import ( | @@ -4,7 +4,6 @@ import ( | ||
4 | "time" | 4 | "time" |
5 | 5 | ||
6 | "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/application/factory" | 6 | "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/application/factory" |
7 | - "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/constant" | ||
8 | "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain" | 7 | "gitlab.fjmaimaimai.com/allied-creation/performance/pkg/domain" |
9 | ) | 8 | ) |
10 | 9 | ||
@@ -75,9 +74,9 @@ func (notices notifyStaffAssess) makeNotify(param *domain.StaffAssess) *domain.L | @@ -75,9 +74,9 @@ func (notices notifyStaffAssess) makeNotify(param *domain.StaffAssess) *domain.L | ||
75 | 74 | ||
76 | // ifSend 确认是否发送通知 | 75 | // ifSend 确认是否发送通知 |
77 | func (notices notifyStaffAssess) ifSend(index int) (bool, error) { | 76 | func (notices notifyStaffAssess) ifSend(index int) (bool, error) { |
78 | - if constant.Env != "prd" { | ||
79 | - return false, nil | ||
80 | - } | 77 | + // if constant.Env != "prd" { |
78 | + // return false, nil | ||
79 | + // } | ||
81 | transactionContext, err := factory.CreateTransactionContext(nil) | 80 | transactionContext, err := factory.CreateTransactionContext(nil) |
82 | if err != nil { | 81 | if err != nil { |
83 | return false, err | 82 | return false, err |
-
请 注册 或 登录 后发表评论