mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 08:20:25 +08:00 
			
		
		
		
	feat: 代码优化、机器计划任务完善
This commit is contained in:
		
							
								
								
									
										7
									
								
								server/pkg/utils/timex/timex.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								server/pkg/utils/timex/timex.go
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
package timex
 | 
			
		||||
 | 
			
		||||
import "time"
 | 
			
		||||
 | 
			
		||||
func DefaultFormat(time time.Time) string {
 | 
			
		||||
	return time.Format("2006-01-02 15:04:05")
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user