作者 唐旭辉

bug

... ... @@ -98,10 +98,11 @@ func (gateway MmmUserCenterServiceGateway) RequestUCenterLoginBySecret(secret st
"secret": url.QueryEscape(secret), //必要的转换
}
url := constant.UCENTER_HOST + "/auth/serverLogin"
byteData, err := gateway.httpDo(url, "post", param)
byteData, err := gateway.httpDo(url, "POST", param)
if err != nil {
return nil, err
}
respData := &ResponseLogin{}
err = json.Unmarshal(byteData, respData)
if err != nil {
... ...