monitoring/api/user_api.py

15 lines
351 B
Python

# _*_ coding: utf-8 _*_
# @Time :2022/5/29 09:16
# @Email :508737091@qq.com
# @Author :qiangyanwen
# @File :user_api.py
from fastapi import APIRouter, Body, Depends, Query
router = APIRouter(prefix="/api", tags=["用户模块"])
@router.post("/register/user")
def register():
return {"code": 200, "message": "用户注册成功"}