Browse Source

flask_app: 修改接口behavioral_statistics的返回值结构

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

+ 1 - 1
flask_app.py

@@ -114,7 +114,7 @@ class Mvp:
         # self.shangju_db.add_some(self.sql_3, datas)
         scores_behavioral = self.city_age_crowd(city, age, crowd)
         scores_module = self.module_score(crowd, city, age, scores_behavioral)
-        result = {'行为兴趣分值': scores_behavioral, '模分值': scores_module}
+        result = {'行为兴趣分值': scores_behavioral, '模分值': scores_module}
         print('update finished!!!')
         return result