12 lines
275 B
Go
12 lines
275 B
Go
package templaterender
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/answerdev/answer/internal/schema"
|
|
)
|
|
|
|
func (t *TemplateRenderController) AnswerList(ctx context.Context, req *schema.AnswerListReq) ([]*schema.AnswerInfo, int64, error) {
|
|
return t.answerService.SearchList(ctx, req)
|
|
}
|