|
@@ -700,6 +700,9 @@ class DeviceManagement(View):
|
|
|
if not all([lang, app_bundle_id, version_number]):
|
|
|
return response.json(444)
|
|
|
try:
|
|
|
+ # tc是ios繁体字语言类型
|
|
|
+ if lang == 'tc':
|
|
|
+ lang = 'cn_tw'
|
|
|
app_bundle_qs = AppBundle.objects.filter(app_bundle_id=app_bundle_id).values(
|
|
|
'app_device_type__app_version_number_id').distinct().order_by('app_device_type__app_version_number_id')
|
|
|
# 判断版本是否存在, 不存在则获取输入版本范围内最接近的输入版本
|