Browse Source

gx

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 years ago
parent
commit
44fbde9e40
1 changed files with 2 additions and 2 deletions
  1. 2 2
      mvp.py

+ 2 - 2
mvp.py

@@ -248,7 +248,7 @@ class Mvp:
                         city = citys[0][1]
                     else:
                         city = '无城市'
-        # 根据用户子选项id集合,获取用户的人群分类
+            # 根据用户子选项id集合,获取用户的人群分类
                 if len(gt_75) > 0:
                     # 特定的测试人群分类从答题结果中获取
                     sub_option_ids = self.marketing_db.select(self.sql_17, [uuid])
@@ -262,7 +262,7 @@ class Mvp:
             if city is None:
                 city = '无城市'
             people_info = PeopleInfo(uuid, city, nld, sex, crowd)
-            people_infos.append(people_info)
+            people_infos.append([uuid, city, nld, sex, crowd])
         return people_infos
 
     def people_filter(self, city, nld, crowd):