Browse Source

羊场测试

baishaojie 4 months ago
parent
commit
8090972998
1 changed files with 3 additions and 2 deletions
  1. 3 2
      http/handle/yq/yq.go

+ 3 - 2
http/handle/yq/yq.go

@@ -37,8 +37,9 @@ func YqCron() {
 		return
 		return
 	}
 	}
 
 
-	// token := getToken()
-	// syncBar(token, pastureinfo.Pastureid, pastureinfo.Werks)
+	token := getToken()
+	fmt.Println(token)
+	syncBar(token, pastureinfo.Pastureid, pastureinfo.Werks)
 	c := cron.New()
 	c := cron.New()
 	c.AddFunc("0 0 1 * * *", func() {
 	c.AddFunc("0 0 1 * * *", func() {
 		token := getToken()
 		token := getToken()