作者 唐旭辉

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