21 lines
459 B
Python
21 lines
459 B
Python
|
|
# -*- coding: utf-8 -*-
|
||
|
|
# @Time : 2024/11/19 下午8:05
|
||
|
|
# @FileName: manage_project.py
|
||
|
|
# @Software: PyCharm
|
||
|
|
from fastapi import HTTPException, Response, Depends, APIRouter
|
||
|
|
from typing import Optional, Annotated
|
||
|
|
from datetime import datetime, timedelta
|
||
|
|
from jose import JWTError, jwt
|
||
|
|
|
||
|
|
from sqlmodel import select
|
||
|
|
|
||
|
|
from models import Tenant, User, Project
|
||
|
|
from dependencies import *
|
||
|
|
|
||
|
|
router = APIRouter()
|
||
|
|
|
||
|
|
|
||
|
|
@router.get(...)
|
||
|
|
def example():
|
||
|
|
return "hello"
|