소스 검색

上传使用的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