diff --git a/drivers/123_open/meta.go b/drivers/123_open/meta.go index effc7ecf..db4ccc18 100644 --- a/drivers/123_open/meta.go +++ b/drivers/123_open/meta.go @@ -24,7 +24,7 @@ type Addition struct { UploadThread int `json:"UploadThread" type:"number" default:"3" help:"the threads of upload"` // 使用直链 - DirectLink bool `json:"DirectLink" type:"boolean" default:"false" required:"false" help:"use direct link when download file"` + DirectLink bool `json:"DirectLink" type:"bool" default:"false" required:"false" help:"use direct link when download file"` DirectLinkPrivateKey string `json:"DirectLinkPrivateKey" required:"false" help:"private key for direct link, if URL authentication is enabled"` DirectLinkValidDuration int64 `json:"DirectLinkValidDuration" type:"number" default:"30" required:"false" help:"minutes, if URL authentication is enabled"`