@@ -0,0 +1,15 @@
|
||||
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)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user