File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 7
7
"os"
8
8
"strings"
9
9
"time"
10
+ // _ "github.com/joho/godotenv/autoload"
10
11
)
11
12
12
13
type JValue struct {
@@ -55,7 +56,7 @@ func main() {
55
56
56
57
body := & JBody {}
57
58
body .UserIds = strings .Split (e_uids , "," )
58
- body .TemplateId = "4YscLc2uaCnsdrEdUJ9HGAGAkdBcEQM9bUBy0gs69Hw "
59
+ body .TemplateId = "6gxAPiVQ5fruViymf5azMurvNJ8wZZqwcnprI2RKpGY "
59
60
body .Url = os .Getenv ("PLUGIN_URL" )
60
61
body .Data .First = & JValue {
61
62
Value : os .Getenv ("PLUGIN_TITLE" ),
@@ -65,11 +66,11 @@ func main() {
65
66
Value : e_remark ,
66
67
Color : "#000000" ,
67
68
}
68
- body .Data .Keyword1 = & JValue {
69
+ body .Data .Keyword2 = & JValue {
69
70
Value : time .Now ().In (cstZone ).Format ("2006-01-02 15:04:05" ),
70
71
Color : "#C0C0C0" ,
71
72
}
72
- body .Data .Keyword2 = & JValue {
73
+ body .Data .Keyword1 = & JValue {
73
74
Value : e_subtitle ,
74
75
Color : e_subcolor ,
75
76
}
You can’t perform that action at this time.
0 commit comments