mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-04-22 19:14:29 +08:00
支付,OSS 服务重构完成
This commit is contained in:
@@ -21,11 +21,11 @@ import (
|
||||
type CaptchaHandler struct {
|
||||
App *core.AppServer
|
||||
service *service.CaptchaService
|
||||
config *types.CaptchaConfig
|
||||
config types.CaptchaConfig
|
||||
}
|
||||
|
||||
func NewCaptchaHandler(app *core.AppServer, s *service.CaptchaService, config *types.CaptchaConfig) *CaptchaHandler {
|
||||
return &CaptchaHandler{App: app, service: s, config: config}
|
||||
func NewCaptchaHandler(app *core.AppServer, s *service.CaptchaService, sysConfig *types.SystemConfig) *CaptchaHandler {
|
||||
return &CaptchaHandler{App: app, service: s, config: sysConfig.GeekAPI.Captcha}
|
||||
}
|
||||
|
||||
// RegisterRoutes 注册路由
|
||||
|
||||
Reference in New Issue
Block a user