zhangdongming 2 жил өмнө
parent
commit
ffcf28e2d7

+ 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'],