30 lines
710 B
Go
30 lines
710 B
Go
package staticctrl
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
// FaqPage doc
|
|
// @Summary 用户常见问题 H5页面
|
|
// @Description 用户常见问题列表
|
|
// @Tags 用户管理
|
|
// @Accept mpfd,json
|
|
// @Produce json,html
|
|
// @Router /api/app/static/faq/html/index [get]
|
|
func HtmlFaqPage(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "index.html", "")
|
|
}
|
|
|
|
// FaqPage doc
|
|
// @Summary 用户常见问题 H5页面
|
|
// @Description 用户常见问题列表
|
|
// @Tags 用户管理
|
|
// @Accept mpfd,json
|
|
// @Produce json,html
|
|
// @Router /api/app/static/faq/tmpl/index [get]
|
|
func TmplFaqPage(c *gin.Context) {
|
|
c.HTML(http.StatusOK, "index.tmpl", "")
|
|
}
|