update 28/02/2022 - 12h00
parent
de74aaa636
commit
4c35e6e7f3
2
main.py
2
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", "*")
|
||||
|
|
|
@ -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']
|
||||
|
|
Loading…
Reference in New Issue