diff --git a/worker/autopay.go b/worker/autopay.go index c31ad01..81f57a4 100644 --- a/worker/autopay.go +++ b/worker/autopay.go @@ -136,6 +136,7 @@ func autoPayMoney(checkin *model.Checkin, checkinType string, payMoney int64) er } checkinMoney = new(model.CheckinMoney) + checkinMoney.Username = checkin.Username checkinMoney.CheckinId = checkin.Id checkinMoney.BillNo = req.BillNo checkinMoney.CheckinType = checkinType