刷新验证码
This commit is contained in:
13
routers/router.go
Normal file
13
routers/router.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package routers
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/jx-print/controllers"
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
func Init(r *gin.Engine){
|
||||
v2 := r.Group("/v2")
|
||||
//user
|
||||
user := v2.Group("/user")
|
||||
user.POST("/refreshCode",controllers.RefreshCode)
|
||||
}
|
||||
Reference in New Issue
Block a user