20 lines
410 B
Go
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)
|
|
}
|
|
}
|