Skip to content

Commit dc3a85f

Browse files
author
WangJun
committed
change template_id
1 parent 8f3c363 commit dc3a85f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"os"
88
"strings"
99
"time"
10+
// _ "github.com/joho/godotenv/autoload"
1011
)
1112

1213
type JValue struct {
@@ -55,7 +56,7 @@ func main() {
5556

5657
body := &JBody{}
5758
body.UserIds = strings.Split(e_uids, ",")
58-
body.TemplateId = "4YscLc2uaCnsdrEdUJ9HGAGAkdBcEQM9bUBy0gs69Hw"
59+
body.TemplateId = "6gxAPiVQ5fruViymf5azMurvNJ8wZZqwcnprI2RKpGY"
5960
body.Url = os.Getenv("PLUGIN_URL")
6061
body.Data.First = &JValue{
6162
Value: os.Getenv("PLUGIN_TITLE"),
@@ -65,11 +66,11 @@ func main() {
6566
Value: e_remark,
6667
Color: "#000000",
6768
}
68-
body.Data.Keyword1 = &JValue{
69+
body.Data.Keyword2 = &JValue{
6970
Value: time.Now().In(cstZone).Format("2006-01-02 15:04:05"),
7071
Color: "#C0C0C0",
7172
}
72-
body.Data.Keyword2 = &JValue{
73+
body.Data.Keyword1 = &JValue{
7374
Value: e_subtitle,
7475
Color: e_subcolor,
7576
}

0 commit comments

Comments
 (0)