作者 tangxvhui

单点登录修改

... ... @@ -2,6 +2,7 @@ package ucenter
import (
"encoding/json"
"net/url"
"oppmg/common/config"
"oppmg/common/log"
"oppmg/protocol"
... ... @@ -37,8 +38,9 @@ func RequestUCenterLoginBySecret(secret string) (*ResponseLogin, error) {
var uclientReturn ResponseLogin
param := RequesLogin{
Type: 3,
Secret: secret,
Secret: url.QueryEscape(secret),
}
uclient := NewUCenterClient()
btBody, err := uclient.Call(param)
if err != nil {
... ...