Przeglądaj źródła

iiiiii

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 4 lat temu
rodzic
commit
04a3f262fc
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      flask_app.py

+ 2 - 2
flask_app.py

@@ -249,8 +249,8 @@ def debug_func():
     result = {}
     rj = JianYeReport()
     try:
-        rj.brand_data()
-        result['success'] = True
+        data = rj.brand_data()
+        result['data'] = data
     except Exception as e:
         result['error'] = str(e)
     finally: