Files
kra-new/internal/server/router/business_password.go
T

15 lines
368 B
Go

package router
import (
"github.com/gin-gonic/gin"
"kra/internal/server/handler"
)
func RegisterBusinessPassword(public *gin.RouterGroup, h *handler.BusinessPassword) {
group := public.Group("/sw/auth/forgot-password")
group.POST("/check", h.Check)
group.POST("/send-code", h.SendCode)
group.POST("/verify-code", h.VerifyCode)
group.POST("/reset", h.Reset)
}