16 lines
247 B
Go
16 lines
247 B
Go
package router
|
|
|
|
import (
|
|
"91porn-server/web/api/ldyctrl"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func ldyRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/ldy")
|
|
{
|
|
group.GET("/cfg", ldyctrl.GetCfg)
|
|
group.POST("/update", ldyctrl.Update)
|
|
}
|
|
}
|