diff --git a/.idea/.gitignore b/.idea/.gitignore deleted file mode 100644 index 463c03e..0000000 --- a/.idea/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -# 默认忽略的文件 -/shelf/ -/workspace.xml -# 基于编辑器的 HTTP 客户端请求 -/httpRequests/ -# Datasource local storage ignored files -/dataSources/ -/dataSources.local.xml diff --git a/.idea/CommercialCompany.iml b/.idea/CommercialCompany.iml deleted file mode 100644 index 74d515a..0000000 --- a/.idea/CommercialCompany.iml +++ /dev/null @@ -1,10 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml deleted file mode 100644 index 5f059c8..0000000 --- a/.idea/inspectionProfiles/Project_Default.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/inspectionProfiles/profiles_settings.xml b/.idea/inspectionProfiles/profiles_settings.xml deleted file mode 100644 index 105ce2d..0000000 --- a/.idea/inspectionProfiles/profiles_settings.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml deleted file mode 100644 index 5104239..0000000 --- a/.idea/misc.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml deleted file mode 100644 index cb8ad2a..0000000 --- a/.idea/modules.xml +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml deleted file mode 100644 index 94a25f7..0000000 --- a/.idea/vcs.xml +++ /dev/null @@ -1,6 +0,0 @@ - - - - - - \ No newline at end of file diff --git a/App/Router/__pycache__/ModelRouter.cpython-311.pyc b/App/Router/__pycache__/ModelRouter.cpython-311.pyc deleted file mode 100644 index 4c8dbeb..0000000 Binary files a/App/Router/__pycache__/ModelRouter.cpython-311.pyc and /dev/null differ diff --git a/App/Router/__pycache__/ReportRouter.cpython-311.pyc b/App/Router/__pycache__/ReportRouter.cpython-311.pyc deleted file mode 100644 index 882925d..0000000 Binary files a/App/Router/__pycache__/ReportRouter.cpython-311.pyc and /dev/null differ diff --git a/App/Router/__pycache__/__init__.cpython-311.pyc b/App/Router/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 4594c72..0000000 Binary files a/App/Router/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/App/Schemas/__pycache__/ModelSchemas.cpython-311.pyc b/App/Schemas/__pycache__/ModelSchemas.cpython-311.pyc deleted file mode 100644 index c3b2224..0000000 Binary files a/App/Schemas/__pycache__/ModelSchemas.cpython-311.pyc and /dev/null differ diff --git a/App/Schemas/__pycache__/__init__.cpython-311.pyc b/App/Schemas/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 7cfaad6..0000000 Binary files a/App/Schemas/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/App/__pycache__/__init__.cpython-311.pyc b/App/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index c8e3e0f..0000000 Binary files a/App/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/Utils/Common/RegisterUtils.py b/Utils/Common/RegisterUtils.py deleted file mode 100644 index 0bf4a6b..0000000 --- a/Utils/Common/RegisterUtils.py +++ /dev/null @@ -1,23 +0,0 @@ -import json - -import requests - - -TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyX2luZm8iOnsidWlkIjoiVUlEMDAwMSIsImVtYWlsIjoiZmVjcmliZEBmZWNyLmNvbS5jbiIsIm5hbWUiOiJyb290Iiwicm9sZSI6Ilx1N2JhMVx1NzQwNlx1NTQ1OCIsImRlcGFydG1lbnQiOiJcdTY1NzBcdTViNTdcdTUzMTZcdTkwZTgiLCJyb2xlX2lkIjoiUk9MRTAxIiwiZGVwYXJ0bWVudF9pZCI6IkQwMDEifSwiZXhwIjoxNjgzNDc2OTA4fQ.8girdw3n0WDktRuK0aSgGor10eb11nIFvRJqUtPZum4" -HEADERS = {"token": TOKEN} - - -def request_to_get(url): - res = requests.get(url=url, headers=HEADERS) - if res.status_code == 200: - return json.loads(res.text) - else: - return False - - -def request_to_post(url, data): - res = requests.post(url=url, headers=HEADERS, data=json.dumps(data)) - if res.status_code == 200: - return json.loads(res.text) - else: - return False diff --git a/Utils/Common/__init__.py b/Utils/Common/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/Utils/DataBase/__pycache__/MongoHelperUtils.cpython-311.pyc b/Utils/DataBase/__pycache__/MongoHelperUtils.cpython-311.pyc deleted file mode 100644 index d733573..0000000 Binary files a/Utils/DataBase/__pycache__/MongoHelperUtils.cpython-311.pyc and /dev/null differ diff --git a/Utils/DataBase/__pycache__/SqlAlchemyUtils.cpython-311.pyc b/Utils/DataBase/__pycache__/SqlAlchemyUtils.cpython-311.pyc deleted file mode 100644 index bf0f138..0000000 Binary files a/Utils/DataBase/__pycache__/SqlAlchemyUtils.cpython-311.pyc and /dev/null differ diff --git a/Utils/DataBase/__pycache__/__init__.cpython-311.pyc b/Utils/DataBase/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 72d2943..0000000 Binary files a/Utils/DataBase/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/Utils/__pycache__/__init__.cpython-311.pyc b/Utils/__pycache__/__init__.cpython-311.pyc deleted file mode 100644 index 80a4810..0000000 Binary files a/Utils/__pycache__/__init__.cpython-311.pyc and /dev/null differ diff --git a/__pycache__/main.cpython-311.pyc b/__pycache__/main.cpython-311.pyc deleted file mode 100644 index 5ca0200..0000000 Binary files a/__pycache__/main.cpython-311.pyc and /dev/null differ