引用logger错误改log

This commit is contained in:
TsMask
2023-08-30 15:37:42 +08:00
parent f418b52a71
commit 29e3df8132
5 changed files with 26 additions and 26 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"time"
"github.com/go-admin-team/go-admin-core/logger"
"ems.agt/lib/log"
)
const (
@@ -28,7 +28,7 @@ const (
func ParseStrToDate(dateStr, formatStr string) time.Time {
t, err := time.Parse(formatStr, dateStr)
if err != nil {
logger.Infof("utils ParseStrToDate err %v", err)
log.Infof("utils ParseStrToDate err %v", err)
return time.Time{}
}
return t