Quellcode durchsuchen

新增字段名称

xyxie vor 4 Tagen
Ursprung
Commit
930b71ab65
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 1 0
      controllers/analyst.go
  2. 1 0
      models/financial_analyst.go

+ 1 - 0
controllers/analyst.go

@@ -195,6 +195,7 @@ func (this *AnalystController) List() {
 			InvestmentCertificate:   v.InvestmentCertificate,
 			InvestmentCertificate:   v.InvestmentCertificate,
 			ProfessionalCertificate: v.ProfessionalCertificate,
 			ProfessionalCertificate: v.ProfessionalCertificate,
 			Introduction:            v.Introduction,
 			Introduction:            v.Introduction,
+			Status:                  v.Status,
 			CreatedTime:             v.CreatedTime.Format(time.DateTime),
 			CreatedTime:             v.CreatedTime.Format(time.DateTime),
 		})
 		})
 
 

+ 1 - 0
models/financial_analyst.go

@@ -44,6 +44,7 @@ type AnalystView struct {
 	ProfessionalCertificate string `json:"ProfessionalCertificate"`
 	ProfessionalCertificate string `json:"ProfessionalCertificate"`
 	Introduction            string `json:"Introduction"`
 	Introduction            string `json:"Introduction"`
 	CreatedTime             string `json:"CreatedTime"`
 	CreatedTime             string `json:"CreatedTime"`
+	Status                  AnalystStatus `description:"状态"`
 }
 }
 
 
 func GetAnalystByName(name string) (analyst CrmFinancialAnalyst, err error) {
 func GetAnalystByName(name string) (analyst CrmFinancialAnalyst, err error) {