Skip to content

Commit 308a8b0

Browse files
committed
统一api文件前缀
1 parent 1a45f06 commit 308a8b0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

backend/app/api/v1/__init__.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
# -*- coding: utf-8 -*-
33
from fastapi import APIRouter
44

5-
from .test_redis import rd
6-
from .user import user
5+
from .v1_test_redis import rd
6+
from .v1_user import user
77

88
v1 = APIRouter(prefix='/v1')
99

1010
v1.include_router(user, prefix='/user', tags=['用户'])
11-
v1.include_router(rd, prefix='/redis', tags=['测试-Redis'])
11+
v1.include_router(rd, prefix='/redis', tags=['测试-Redis'])
File renamed without changes.

0 commit comments

Comments
 (0)