ls 4 年之前
父節點
當前提交
8cb1c6eac2
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      wechat/client.go

+ 2 - 2
wechat/client.go

@@ -208,8 +208,8 @@ func (wc Client) GetSignPackage(uri, nonceStr string) (sign SignPackage, err err
 		return
 	}
 
-	s = `&jsapi_ticket=` + wc.Ticket
-	s += `noncestr=` + nonceStr
+	s = `jsapi_ticket=` + wc.Ticket
+	s += `&noncestr=` + nonceStr
 	s += `&timestamp=` + fmt.Sprintf("%d", unix)
 	s += `&url=` + uri