瀏覽代碼

agent apply id

abiao 4 年之前
父節點
當前提交
4ee9d9a5ca
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      go/gopath/src/fohow.com/apps/controllers/user_controller/agent_apply_controller.go

+ 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"`
 	}