Browse Source

iiiiii

Signed-off-by: Binren Zhnag <zhangbr@elab-plus.com>
Binren Zhnag 4 năm trước cách đây
mục cha
commit
04a3f262fc
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  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: