浏览代码

Merge branch 'feature/fix_wx_token' into debug

xyxie 1 年之前
父节点
当前提交
511300cd97
共有 1 个文件被更改,包括 1 次插入1 次删除
  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)