|
@@ -73,7 +73,7 @@ class DeviceTypeView(View):
|
|
|
if device_type_qs.exists():
|
|
|
for device_type in device_type_qs:
|
|
|
auth = oss2.Auth(OSS_STS_ACCESS_KEY, OSS_STS_ACCESS_SECRET)
|
|
|
- bucket = oss2.Bucket(auth, 'oss-cn-hongkong.aliyuncs.com', 'statres')
|
|
|
+ bucket = oss2.Bucket(auth, 'oss-cn-shenzhen.aliyuncs.com', 'ansjer-static-resources')
|
|
|
|
|
|
icon = device_type['icon']
|
|
|
url = 'device_type/' + icon
|