mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-05-01 23:44:26 +08:00
支付,OSS 服务重构完成
This commit is contained in:
@@ -20,9 +20,9 @@ type CaptchaService struct {
|
||||
client *req.Client
|
||||
}
|
||||
|
||||
func NewCaptchaService(config types.CaptchaConfig) *CaptchaService {
|
||||
func NewCaptchaService(captchaConfig types.CaptchaConfig) *CaptchaService {
|
||||
return &CaptchaService{
|
||||
config: config,
|
||||
config: captchaConfig,
|
||||
client: req.C().SetTimeout(10 * time.Second),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user