刷新验证码

This commit is contained in:
suyl
2021-07-05 18:04:29 +08:00
parent 9f8633a914
commit 17701fe1ac
8 changed files with 179 additions and 3 deletions

13
routers/router.go Normal file
View 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)
}