message2
This commit is contained in:
parent
58d79525b2
commit
e58acb28d9
|
@ -25,7 +25,7 @@ func ViewCheckin(checkin *model.Checkin) {
|
|||
message = append(message, "考勤日期:%s", checkin.Day)
|
||||
message = append(message, "开始时间:%s", goutil.TimeToDateTime(checkin.StartTime))
|
||||
message = append(message, "结束时间:%s", goutil.TimeToDateTime(checkin.EndTime))
|
||||
message = append(message, "工作时长:%s", time.Duration(time.Duration(duration)*time.Second).String())
|
||||
message = append(message, "工作时长:%s", (time.Duration(duration) * time.Second).String())
|
||||
|
||||
if err := global.SendMessage([]string{"jiangyong"}, strings.Join(message, "\n")); err != nil {
|
||||
log.Errorf("send message error :%s", err.Error())
|
||||
|
|
Loading…
Reference in New Issue