onduty exception2
This commit is contained in:
parent
df45b7b837
commit
f8691ea897
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue