From 4c35e6e7f38e9bce60a71ffbe4880fb578e8bbde Mon Sep 17 00:00:00 2001 From: cbalde Date: Mon, 28 Feb 2022 16:53:33 +0100 Subject: [PATCH] update 28/02/2022 - 12h00 --- main.py | 2 ++ wrapper.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 09fd937..d9bcd17 100644 --- a/main.py +++ b/main.py @@ -412,7 +412,9 @@ def get_class_global_search(search_string): @app.route('/myclass/api/get_all_class/', methods=['GET','POST']) @crossdomain(origin='*') def get_all_class(): + payload = request.form.to_dict() status, result = wp.get_all_class() + print(" ### payload = ", payload) response = jsonify(status=status, message=result) response.headers.add("Access-Control-Allow-Origin", "*") response.headers.add("Access-Control-Allow-Headers", "*") diff --git a/wrapper.py b/wrapper.py index 85333c6..0909dd0 100644 --- a/wrapper.py +++ b/wrapper.py @@ -529,7 +529,7 @@ def recherche_tips_ret_ref(diction): # field_list. ''' - print(" RRRRR "+str(diction)) + #print(" RRRRR "+str(diction)) field_list = ['search_text', 'token', 'support', 'id', 'type', 'lang', 'level', 'dist', 'price', 'certif', 'source', 'name','valide']