Procházet zdrojové kódy

研究员逻辑修改

kobe6258 před 4 měsíci
rodič
revize
22ab3ce65e
1 změnil soubory, kde provedl 8 přidání a 5 odebrání
  1. 8 5
      controllers/analyst.go

+ 8 - 5
controllers/analyst.go

@@ -174,11 +174,14 @@ func (this *AnalystController) List() {
 	analystList := make([]*models.AnalystView, 0)
 	for _, v := range list {
 		analystList = append(analystList, &models.AnalystView{
-			Id:           v.Id,
-			Name:         v.Name,
-			HeadImgURL:   v.HeadImgUrl,
-			Introduction: v.Introduction,
-			CreatedTime:  v.CreatedTime.Format(time.DateTime),
+			Id:                      v.Id,
+			Name:                    v.Name,
+			HeadImgURL:              v.HeadImgUrl,
+			Position:                v.Position,
+			InvestmentCertificate:   v.InvestmentCertificate,
+			ProfessionalCertificate: v.ProfessionalCertificate,
+			Introduction:            v.Introduction,
+			CreatedTime:             v.CreatedTime.Format(time.DateTime),
 		})
 
 	}