Bladeren bron

agent apply id

abiao 4 jaren geleden
bovenliggende
commit
4ee9d9a5ca

+ 3 - 1
go/gopath/src/fohow.com/apps/controllers/user_controller/agent_apply_controller.go

@@ -159,7 +159,9 @@ func (self *UserController) GetUserInfo() {
 		useCache = false
 	}
 	wxUser := user_model.GetWxUserById(id, useCache)
-
+	if wxUser != nil {
+		wxUser.Head = self.GetFullImgUrl(wxUser.Head)
+	}
 	type Ret struct {
 		WxUser *user_model.WxUser `json:"wx_user"`
 	}