|
@@ -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),
|
|
|
})
|
|
|
|
|
|
}
|