WuYiPei il y a 5 ans
Parent
commit
27556fa4de
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      Controller/UserController.py

+ 3 - 0
Controller/UserController.py

@@ -2626,7 +2626,9 @@ class alexaUidView(TemplateView):
             uid_dict = {}
             uid_list = []
             for uid_q in uid_qs:
+                #追加
                 uid_list.append(uid_q['UID'])
+                #给uid_q['UID']赋值
                 uid_dict[uid_q['UID']] = {'nick': uid_q['NickName'], 'password': uid_q['View_Password']}
             us_qs = UidSetModel.objects.filter(uid__in=uid_list, is_alexa=2).values('uid', 'region_alexa')
             # uid,password,region的列表
@@ -2642,6 +2644,7 @@ class alexaUidView(TemplateView):
                                 'region': region_alexa})
             res = {
                 'uid_arr': uid_arr
+
             }
             return response.json(0, res)
         else: