瀏覽代碼

上传使用的token

胡志强 3 年之前
父節點
當前提交
173ceaf163
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Introduce/Record/INVideoExportController.swift

+ 2 - 0
Introduce/Record/INVideoExportController.swift

@@ -884,6 +884,8 @@ class INVideoExportController: BFBaseViewController {
         if uploadRequest != nil, "\(uploadRequest!.callbackParam["code"] ?? "0")" == "1" {
             return
         }
+        // 文件上传OSS需要登录用户校验,视说APP使用一个固定用户上传。测试环境用户token: a065b8aa42481a8ae81ccc60dbc82d490c5dcefa
+        BFConfig.shared.token = "a065b8aa42481a8ae81ccc60dbc82d490c5dcefa"
         // 更新进度
         DispatchQueue.global().async {
             PQUploadViewModel.getStsToken { [weak self] response, _ in