浏览代码

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

Signed-off-by: binren <zhangbr@elab-plus.com>
binren 5 年之前
父节点
当前提交
5e697748ef
共有 1 个文件被更改,包括 1 次插入1 次删除
  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