面包店
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

16 lines
223 B

  1. package router
  2. import (
  3. "applet/app/customer/mw"
  4. "github.com/gin-gonic/gin"
  5. )
  6. func CustomerInit(r *gin.RouterGroup) {
  7. rTest(r.Group("/test"))
  8. r.Use(mw.Auth) //检测登录状态
  9. }
  10. func rTest(r *gin.RouterGroup) {
  11. }