Files
MainSite/app/source/API_App.py
2024-02-29 01:04:07 +04:00

33 lines
955 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env python3
# -*- coding: UTF-8 -*-
"""
Нестандартные процедуры, которые использует только это приложение
Дата последней оптимизации: 07.06.2022
"""
import uuid # Уникальные имена
import os # Работа с ОС
import shutil # Копирование файлов
import time # работа с временем
import datetime # Работа с датой
import sys
from app import app # чтение из config.py
sys.path.append("app/source")
import API_Common as APIC
NameModule = "API_App"
###############################################################################
def UserHeader(SessionID: str, Vars: dict) -> str:
"""Вызывается из API_Common"""
# print(str(Vars["request"].url.split('/')))
request = Vars["request"]
CurStr = Vars["CurStr"]
Link = ""
LinkReport = ""
return CurStr