diff --git a/fir_client/vue.config.js b/fir_client/vue.config.js index e54a3df..9f72eaa 100644 --- a/fir_client/vue.config.js +++ b/fir_client/vue.config.js @@ -82,7 +82,7 @@ if (page) { } } -const version='1.3.9'; +const version='1.4.0'; const pro_base_env = { baseUrl: 'https://flyapps.cn', diff --git a/fir_ser/api/views/apps.py b/fir_ser/api/views/apps.py index 70ade47..b0004c5 100644 --- a/fir_ser/api/views/apps.py +++ b/fir_ser/api/views/apps.py @@ -72,9 +72,11 @@ class AppsView(APIView): "android_count": Apps.objects.filter(type=0, user_id=request.user).values('app_id').count()} android_app_ids = Apps.objects.filter(**{"user_id": request.user, "type": 0}).values('app_id') + android_app_ids = [app_dict.get('app_id') for app_dict in android_app_ids] res.hdata["android_today_hits_count"] = get_app_today_download_times(android_app_ids) ios_app_ids = Apps.objects.filter(**{"user_id": request.user, "type": 1}).values('app_id') + ios_app_ids = [app_dict.get('app_id') for app_dict in ios_app_ids] res.hdata["ios_today_hits_count"] = get_app_today_download_times(ios_app_ids) all_hits_obj = Apps.objects.filter(user_id=request.user).aggregate(count_hits=Sum('count_hits')) diff --git a/fir_ser/api/views/supersign.py b/fir_ser/api/views/supersign.py index a0b5050..66f87a5 100644 --- a/fir_ser/api/views/supersign.py +++ b/fir_ser/api/views/supersign.py @@ -54,7 +54,7 @@ class DeveloperView(APIView): if issuer_id: developer_obj = developer_obj.filter( Q(developerappid__app_id__bundle_id=issuer_id, developerappid__app_id__user_id=request.user) | Q( - issuer_id=issuer_id)) + issuer_id=issuer_id) | Q(description=issuer_id)) page_obj = PageNumber() app_page_serializer = page_obj.paginate_queryset(queryset=developer_obj.order_by("-updated_time"),