Ver Fonte

feat: 新增公司字段

zhangxinlei1996 há 2 anos atrás
pai
commit
7da10e0809
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      common/src/qfw/util/jy/bigVipPower.go

+ 3 - 0
common/src/qfw/util/jy/bigVipPower.go

@@ -309,6 +309,9 @@ func GetInfoForBaseUser(mgo m.MongodbSim, userid string) *userCenterBp.UserIdReq
 		if headimg := qutil.ObjToString((*data)["s_headimageurl"]); headimg != "" {
 			userinfo.Headimg = headimg
 		}
+		if company := qutil.ObjToString((*data)["s_company"]); company != "" {
+			userinfo.Company = company
+		}
 		return userinfo
 	}
 	return nil