qrnn
youngS 3 years ago
parent 55f5f65e15
commit 7932dde3b4
  1. 2
      fir_client/vue.config.js
  2. 2
      fir_ser/api/views/supersign.py

@ -82,7 +82,7 @@ if (page) {
}
}
const version='1.3.3';
const version='1.3.4';
const pro_base_env = {
baseUrl: 'https://flyapps.cn',

@ -439,10 +439,10 @@ class DeviceUsedRankInfoView(APIView):
app_used_sign_objs = app_used_sign_objs.filter(created_time__range=[start_time, end_time])
except Exception as e:
logger.error(f"get time range failed {e}")
res.count = app_used_sign_objs.count()
app_used_sign_objs = app_used_sign_objs.values('app_id__app_id', 'app_id__name', 'app_id__bundle_id').annotate(
count=Count('app_id__app_id')).order_by('-count')
res.count = app_used_sign_objs.count()
app_used_sign_infos = page_obj.paginate_queryset(queryset=app_used_sign_objs,
request=request, view=self)

Loading…
Cancel
Save