Selaa lähdekoodia

增加系统配置接口

kobe6258 4 kuukautta sitten
vanhempi
commit
32e9d95679
1 muutettua tiedostoa jossa 3 lisäystä ja 0 poistoa
  1. 3 0
      controllers/analyst.go

+ 3 - 0
controllers/analyst.go

@@ -240,6 +240,9 @@ func (this *AnalystController) Edit() {
 		analyst.HeadImgUrl = req.HeadImgUrl
 	}
 	analyst.Introduction = req.Introduction
+	analyst.Position = req.Position
+	analyst.ProfessionalCertificate = req.ProfessionalCertificate
+	analyst.InvestmentCertificate = req.InvestmentCertificate
 	analyst.UpdatedTime = time.Now()
 	err = analyst.Update([]string{"HeadImgURL", "Introduction", "Position", "InvestmentCertificate", "ProfessionalCertificate", "UpdatedTime"})
 	if err != nil {