|
@@ -137,8 +137,7 @@ type WxUserInfo struct {
|
|
|
}
|
|
|
|
|
|
func GetWxUserInfo(code string) (info *WxUserInfo, err error) {
|
|
|
- httpUrl := `https://api.weixin.qq.com/sns/oauth2/access_token?
|
|
|
- appid=%s&secret=%s&code=%s&grant_type=authorization_code`
|
|
|
+ httpUrl := `https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code`
|
|
|
|
|
|
confMap, err := models.GetMiniConf()
|
|
|
if err != nil {
|