生成七牛上传凭证
dependencies: [
.package(url: "https://github.com/Adrift001/QiNiuSDK.git", from: "0.0.3")
]
targets: [
.target(name: "App", dependencies: ["QiNiuSDK"]),
]
let auth = Auth.create(accessKey: "xxx", secretKey: "xxx")
let token = auth.uploadToken(bucket: "xxx")
print(token)