commit
e440f5ad57
@ -0,0 +1,11 @@
|
||||
_ _____ _
|
||||
| | / ____| | |
|
||||
__| |___| (___ _ _ _ __ _ __ ___ _ __| |_
|
||||
/ _` / __|\___ \| | | | '_ \| '_ \ / _ \| '__| __|
|
||||
| (_| \__ \____) | |_| | |_) | |_) | (_) | | | |_
|
||||
\__,_|___/_____/ \__,_| .__/| .__/ \___/|_| \__|
|
||||
| | | |
|
||||
|_| |_|
|
||||
|
||||
Created By HuangHai 2020-01-20
|
||||
http://patorjk.com/software/taag/#p=display&f=Big&t=dsSupport
|
@ -0,0 +1,3 @@
|
||||
package Const
|
||||
|
||||
const PreviewPrefix = "dsMinPreview/"
|
@ -0,0 +1,11 @@
|
||||
package CronTask
|
||||
|
||||
import (
|
||||
"dsSupport/Const"
|
||||
"dsSupport/Utils/ObsUtil"
|
||||
)
|
||||
|
||||
func Task() {
|
||||
//删除7天前上传的文件
|
||||
ObsUtil.DeleteExpireFile(Const.PreviewPrefix, 7)
|
||||
}
|
Binary file not shown.
Loading…
Reference in new issue