浏览代码

增加系统配置接口

kobe6258 4 月之前
父节点
当前提交
32e9d95679
共有 1 个文件被更改,包括 3 次插入0 次删除
  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 {