feat: implement backend core with repricing logic, case management, and multi-service architecture

This commit is contained in:
2026-05-13 00:28:13 +03:00
parent 38f3199c33
commit d9aae5b85e
15 changed files with 596 additions and 90 deletions

View File

@@ -26,7 +26,9 @@ def serialize_case(row):
# ---------- CASE CRUD ----------
@cases_blueprint.route('/cases', methods=['GET'])
@token_required
def list_cases(current_user_id):
def list_cases(user_info):
company_id = user_info['company_id']
# ... rest of logic using company_id instead of current_user_id ...
"""
Получить список всех кейсов пользователя
---