17 lines
354 B
Go
17 lines
354 B
Go
package router
|
|
|
|
import (
|
|
"91porn-server/app/api/integeralctrl"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func integralRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/integral")
|
|
{
|
|
group.GET("/list", integeralctrl.GetList)
|
|
group.GET("/record/list", integeralctrl.GetRecordList)
|
|
group.POST("/exchangeIntegral", integeralctrl.ExchangeIntegral)
|
|
}
|
|
}
|