16 lines
284 B
Go
16 lines
284 B
Go
package router
|
|
|
|
import (
|
|
"91porn-server/web/api/synccdnctrl"
|
|
|
|
"github.com/gin-gonic/gin"
|
|
)
|
|
|
|
func syncCdnRouter(router *gin.RouterGroup) {
|
|
group := router.Group("/cdn")
|
|
{
|
|
group.POST("/sync", synccdnctrl.SyncCdn)
|
|
group.POST("/syncWithOptions", synccdnctrl.SyncWithOptions)
|
|
}
|
|
}
|