Browse Source

新增缩略图

kobe6258 3 months ago
parent
commit
6f3c31d8c3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/analyst.go

+ 1 - 1
controllers/analyst.go

@@ -254,7 +254,7 @@ func (this *AnalystController) Edit() {
 	analyst.ProfessionalCertificate = req.ProfessionalCertificate
 	analyst.InvestmentCertificate = req.InvestmentCertificate
 	analyst.UpdatedTime = time.Now()
-	err = analyst.Update([]string{"HeadImgURL", "Introduction", "Position", "InvestmentCertificate", "ProfessionalCertificate", "UpdatedTime"})
+	err = analyst.Update([]string{"HeadImgURL", "HeadOriginImgURL", "Introduction", "Position", "InvestmentCertificate", "ProfessionalCertificate", "UpdatedTime"})
 	if err != nil {
 		br.Msg = "编辑失败"
 		br.ErrMsg = "编辑失败, 系统错误,Err:" + err.Error()