fix: building issue

This commit is contained in:
yanghao05
2023-03-20 16:53:34 +08:00
parent bde38e7a0c
commit 6757e00d73
6 changed files with 18 additions and 18 deletions

View File

@@ -9,11 +9,11 @@ import (
)
type Route struct {
captcha controller.CaptchaController
captcha *controller.CaptchaController
svc *http.Service
}
func NewRoute(captcha controller.CaptchaController, svc *http.Service) contracts.Route {
func NewRoute(captcha *controller.CaptchaController, svc *http.Service) contracts.Route {
return &Route{captcha: captcha, svc: svc}
}