@@ -0,0 +1,19 @@
|
||||
package userser
|
||||
|
||||
import (
|
||||
"91porn-server/common/log"
|
||||
"91porn-server/models/commod"
|
||||
"91porn-server/models/v/faqmod"
|
||||
)
|
||||
|
||||
// FaqList 常见问题列表
|
||||
func FaqList(category string, keywords string, s commod.StdQuery) (data faqmod.FaqListRes, err error) {
|
||||
result, total, err := faqmod.FaqListForSearch(category, keywords, s)
|
||||
if err != nil {
|
||||
log.Error("[METHOD]==>FaqList error", log.E(err))
|
||||
return
|
||||
}
|
||||
data.List = result
|
||||
data.Total = total
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user