소스 검색

fix del log

ziwen 2 년 전
부모
커밋
df02a0460f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      services/save_log.go

+ 1 - 1
services/save_log.go

@@ -10,7 +10,7 @@ import (
 )
 
 func DeleteLog(cont context.Context) (err error) {
-	date := time.Now().AddDate(0,-1,0).Format(utils.FormatDateTime)
+	date := time.Now().AddDate(0,-1,0).Format(utils.FormatDate)
 	go func() {
 		err = data_manage.DeletePPTLogByDate(date)
 		if err != nil {