...
|
...
|
@@ -292,7 +292,7 @@ func Template(header *protocol.RequestHeader, request *protocol.TemplateRequest) |
|
|
if len(item.Example) > 0 {
|
|
|
template.Link = fmt.Sprintf("%v/#/ability/opportunity?id=%v", beego.AppConfig.String("h5_host"), item.Id)
|
|
|
}
|
|
|
if template.Question, err = agg.GetCheckQuestionsByTemplateId(templates.Id); err != nil {
|
|
|
if template.Questions, err = agg.GetCheckQuestionsByTemplateId(templates.Id); err != nil {
|
|
|
log.Error(err)
|
|
|
return
|
|
|
}
|
...
|
...
|
|