From abd074152c104f0f63cb09f3b88ec4f59ffdd797 Mon Sep 17 00:00:00 2001 From: linquan <349589071@qq.com> Date: Wed, 9 Jul 2025 14:25:40 +0800 Subject: [PATCH] debug --- email.go | 21 ------------------- server.crt => manifest/config/server.crt | 0 server.key => manifest/config/server.key | 0 TapOpenId.json => test/TapOpenId.json | 0 .../sub_siphoto_pkcs8.pem | 0 test.go => test/test.go | 0 testCdKey.go => test/testCdKey.go | 0 7 files changed, 21 deletions(-) delete mode 100644 email.go rename server.crt => manifest/config/server.crt (100%) rename server.key => manifest/config/server.key (100%) rename TapOpenId.json => test/TapOpenId.json (100%) rename sub_siphoto_pkcs8.pem => test/sub_siphoto_pkcs8.pem (100%) rename test.go => test/test.go (100%) rename testCdKey.go => test/testCdKey.go (100%) diff --git a/email.go b/email.go deleted file mode 100644 index a3c0ad2..0000000 --- a/email.go +++ /dev/null @@ -1,21 +0,0 @@ -package main - -import ( - "log" - "net/smtp" - - "github.com/jordan-wright/email" -) - -func main() { - e := email.NewEmail() - e.From = "lin " - e.To = []string{"349589071@qq.com"} - e.Bcc = []string{"linquan13950405063@163.com"} - e.Subject = "【桃源记2】验证码" - e.HTML = []byte("这是桃源记2后台登录的验证码

验证码: 713379

请在10分钟内使用。") - err := e.Send("smtp.163.com:25", smtp.PlainAuth("", "linquan13950405063@163.com", "YGefKDbTiwMRW3nM", "smtp.163.com")) - if err != nil { - log.Print(err) - } -} diff --git a/server.crt b/manifest/config/server.crt similarity index 100% rename from server.crt rename to manifest/config/server.crt diff --git a/server.key b/manifest/config/server.key similarity index 100% rename from server.key rename to manifest/config/server.key diff --git a/TapOpenId.json b/test/TapOpenId.json similarity index 100% rename from TapOpenId.json rename to test/TapOpenId.json diff --git a/sub_siphoto_pkcs8.pem b/test/sub_siphoto_pkcs8.pem similarity index 100% rename from sub_siphoto_pkcs8.pem rename to test/sub_siphoto_pkcs8.pem diff --git a/test.go b/test/test.go similarity index 100% rename from test.go rename to test/test.go diff --git a/testCdKey.go b/test/testCdKey.go similarity index 100% rename from testCdKey.go rename to test/testCdKey.go