onduty exception2

This commit is contained in:
jiangyong27 2023-08-23 18:34:53 +08:00
parent df45b7b837
commit f8691ea897
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ func NotifyCheckinOnDuty(checkin *model.Checkin) {
return
}
if isOndutyPay(checkin, userConfig) && checkin.Exception != "" {
if isOndutyPay(checkin, userConfig) && checkin.Exception == "" {
payMoney := cast.ToInt64(userConfig.Get(model.CheckinOndutyMoney))
if payMoney == 0 {
payMoney = 2000