16 lines
270 B
Go
16 lines
270 B
Go
package router
|
|
|
|
import (
|
|
"91porn-server/web/api/extctrl"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func extendRouter(router *gin.RouterGroup) {
|
|
g := router.Group("/extend")
|
|
{
|
|
g.GET("/viewCaptcha", extctrl.ViewCaptcha)
|
|
g.POST("/syncServerFile", extctrl.SyncServerFile)
|
|
}
|
|
}
|