22 lines
482 B
Python
22 lines
482 B
Python
# -*- coding: utf-8 -*-
|
|
# @Time : 2024/11/19 下午8:05
|
|
# @Author : 河瞬
|
|
# @FileName: manage_user.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"
|