作者 唐旭辉

... ... @@ -35,7 +35,7 @@ func RequestUCenterLogin(account, password string) (*ResponseLogin, error) {
func RequestUCenterAddUser(phone string, nickname string, avatar string) (*ResponseAddUser, error) {
if len(avatar) <= 0 {
avatar = config.MConfig.FileHost + config.MConfig.FileHostPath + "/avatar_default.png"
avatar = config.MConfig.FileHost + "/static/avatar_default.png"
}
var ucenterReturn *ResponseAddUser
param := RequestAddUser{
... ...