|
|
@@ -528,7 +528,7 @@ def consumer_model_list(request):
|
528
|
528
|
return response(UserStatusCode.USER_NOT_FOUND)
|
529
|
529
|
|
530
|
530
|
# 返回型号列表
|
531
|
|
- models = ModelInfo.objects.filter(shot_type_id__isnull=False, status=True).order_by('-shot_member_name', '-model_mount')
|
|
531
|
+ models = ModelInfo.objects.filter(shot_type_id__isnull=False, status=True).order_by('-shot_type_id', '-model_mount')
|
532
|
532
|
models = [model.consumer_shot_data for model in models]
|
533
|
533
|
|
534
|
534
|
return response(200, 'Get Model List Success', u'获取型号列表成功', {
|