浏览代码

修改AI红点

zhangdongming 2 年之前
父节点
当前提交
ffcf28e2d7
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/AppSetController.py

+ 1 - 1
Controller/AppSetController.py

@@ -172,7 +172,7 @@ class AppSetView(View):
                     if red_dots['start_time'] <= now_time <= red_dots['end_time']:
                         red_dots_status = 1
                         ai_detection = red_dots['module']
-                        if ai_detection == 'ai_detection':
+                        if ai_detection == 'ai_detects_purchases':
                             red_dots_status = 1 if is_show_red_dots else 0
                     dict_json['red_dots'].append({
                         'module': red_dots['module'],