add contacts rourtes

This commit is contained in:
CHIEFSOFT\ameye
2025-09-14 06:37:41 -04:00
parent f3d81e662e
commit 52a0a72702
4 changed files with 84 additions and 38 deletions
+8
View File
@@ -468,6 +468,14 @@ def get_web_contents():
result = WebContentsService.get_web_contents_data(provision_uid)
return jsonify(result)
# =====================================================
@api.route('/web/contacts', methods=['POST'])
# @token_required
def get_web_receive_contacts():
# Call the dashboard service
data = request.get_json()
result = ContactService.process_save_contacts(data)
return jsonify(result)
# =====================================================
@api.route('/web/generatives', methods=['GET'])