def get(self, request):标签:dictionary,self,APIView,Django,key,print,data From: https://www.cnblogs.com/mentu21/p/16880132.html
print("================用户行为列表")
dictionary_key = self.request.query_params.get('data_point_app_id')
print('---------445---------')
print(dictionary_key)
if dictionary_key:
data = self.queryset.filter(application_id=dictionary_key).values()
# data['cutomName'] = data['custom_data']['cutomName'] 有问题
return SuccessResponse(data=data, msg="获取成功")
return SuccessResponse(data=[], msg="获取成功")