lang 4 жил өмнө
parent
commit
a0ac6491a1
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      Controller/TestApi.py

+ 1 - 1
Controller/TestApi.py

@@ -696,7 +696,7 @@ class testView(View):
         aws_secret = "1XLBpy+hkUhBmuECaVyNUo6cJQfDGoaMcWLvpcyc" # 【你的 aws_secret_key】
         session = Session(aws_access_key_id=aws_key,
                           aws_secret_access_key=aws_secret,
-                          region_name="uap-southeast-1") # 此处根据自己的 s3 地区位置改变
+                          region_name="ap-southeast-1") # 此处根据自己的 s3 地区位置改变
         s3 = session.resource("s3")
         client = session.client("s3")
         bucket = "asj-oct-ipc" # 【你 bucket 的名字】 # 首先需要保.证 s3 上已经存在该存储桶,否则报错