Compare commits
2 Commits
55275db618
...
c08b4bf90d
Author | SHA1 | Date | |
---|---|---|---|
c08b4bf90d | |||
74e88e62d5 |
@ -56,10 +56,9 @@ type PutRet struct {
|
||||
User string `json:"user"`
|
||||
}
|
||||
|
||||
func New(accessKey, secretKey, bucket, domain, securityKey string, region *storage.Region) QiNiu {
|
||||
func New(accessKey, secretKey, bucket, domain, securityKey string) QiNiu {
|
||||
mac := qbox.NewMac(accessKey, secretKey)
|
||||
conf := &storage.Config{
|
||||
Region: region, //空间所在的存储区域
|
||||
UseHTTPS: true, //是否使用https域名
|
||||
UseCdnDomains: false, //上传是否使用CDN上传加速
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user