We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acfb434 commit 943e953Copy full SHA for 943e953
sms.go
@@ -102,7 +102,7 @@ func ProcessSMS(smsList []map[string]interface{}, cache *Cache) {
102
if time.Now().Unix()-int64(timestamp) < int64(Yaml.Sms.CacheTTL.Seconds()) {
103
phone := sms["phone"].(string)
104
content := sms["content"].(string)
105
- datetime := time.Unix(int64(timestamp), 0).Format("2025-01-01 15:04:05") // 时间戳转换为格式化时间
+ datetime := time.Unix(int64(timestamp), 0).Format("2006-01-02 15:04:05") // 时间戳转换为格式化时间
106
text := fmt.Sprintf("%s\n%s\n\n%s\nR106", phone, content, datetime)
107
108
// 生成缓存的 MD5 键
0 commit comments