Prechádzať zdrojové kódy

Merge branch 'feature/fix_wx_token' into debug

xyxie 1 rok pred
rodič
commit
511300cd97
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      services/wechat/token.go

+ 1 - 1
services/wechat/token.go

@@ -36,7 +36,7 @@ func GetAccessToken(tokenReq WxTokenReq) (accessToken string, err error, errMsg
 		// 找不到推送服务
 		return
 	}
-	url := fmt.Sprintf("%s/%s", utils.EtaPubUrl, "v1/wechat/access_token")
+	url := fmt.Sprintf("%s%s", utils.EtaPubUrl, "v1/wechat/access_token")
 	defer func() {
 		if err != nil {
 			go alarm_msg.SendAlarmMsg(errMsg, 1)