Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

20 lines
410 B
Go

package router
import (
"91porn-server/app/api/customerCtrl"
"github.com/gin-gonic/gin"
)
func customerApiRouter(router *gin.RouterGroup) {
router.GET("/customer/url", customerCtrl.Url)
}
func customerRouter(router *gin.Engine) {
customer := router.Group("/customer")
user := customer.Group("/user")
{
user.GET("/backpack", customerCtrl.Backpack)
user.GET("/recharge", customerCtrl.Recharge)
}
}