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