From 20a516c532e7d9c4fd8e3d558cf15af45ca4d30f Mon Sep 17 00:00:00 2001 From: hujiebin Date: Fri, 18 Aug 2023 14:20:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E5=8E=BB=E6=8E=89=E6=97=A0=E7=94=A8?= =?UTF-8?q?=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/fruit_day_award.go | 4 ++-- sdk/tencentyun/tencentyun.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/script/fruit_day_award.go b/script/fruit_day_award.go index ddd1964..de4ffd4 100644 --- a/script/fruit_day_award.go +++ b/script/fruit_day_award.go @@ -41,7 +41,7 @@ func ats32(a interface{}) string { } func main() { - url := "https://apiv2.faceline.live/v1/fruitMachine/rank/award?lang=zh-cn&pageIndex=1&pageSize=50000&beginDate=2023-08-16&endDate=2023-08-16&userCode=&timezone=1" + url := "https://apiv2.faceline.live/v1/fruitMachine/rank/award?lang=zh-cn&pageIndex=1&pageSize=50000&beginDate=2023-08-17&endDate=2023-08-17&userCode=&timezone=1" method := "GET" client := &http.Client{} @@ -95,7 +95,7 @@ func main() { for _, v := range svips { svipMap[v.Code] = v.Level } - excelFileName := fmt.Sprintf("./0816水果机中奖榜.xlsx") + excelFileName := fmt.Sprintf("./0817水果机中奖榜.xlsx") xlFile := xlsx.NewFile() sheet, _ := xlFile.AddSheet("charge") row := sheet.AddRow() diff --git a/sdk/tencentyun/tencentyun.go b/sdk/tencentyun/tencentyun.go index eece1e2..f351743 100644 --- a/sdk/tencentyun/tencentyun.go +++ b/sdk/tencentyun/tencentyun.go @@ -1532,7 +1532,7 @@ func SendSystemMsg(logger *logrus.Entry, groupId string, members []string, conte } func SendSystemMsgBy(logger *logrus.Entry, txGroupId string, members []string, content string, reqUrl string, getAdminSig func() (string, error), appId int) error { logger = logger.WithField("appId", appId).WithField("txGroupId", txGroupId) - logger.Infof("SendSystemMsg content: %s", content) + //logger.Infof("SendSystemMsg content: %s", content) beginTime := time.Now() type BodyStruct struct { -- 2.22.0