Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
LLM-Filter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2026_NGIT
LLM-Filter
Commits
35d99c7d
Commit
35d99c7d
authored
Nov 14, 2025
by
uuo00_n
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(dashboard): 将校园总览接口的角色等级要求从5级降至4级
parent
fddd97e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
dashboard.cpython-39.pyc
app/api/v1/__pycache__/dashboard.cpython-39.pyc
+0
-0
dashboard.py
app/api/v1/dashboard.py
+2
-2
No files found.
app/api/v1/__pycache__/dashboard.cpython-39.pyc
View file @
35d99c7d
No preview for this file type
app/api/v1/dashboard.py
View file @
35d99c7d
...
...
@@ -36,7 +36,7 @@ async def department(current_user: dict = Depends(require_role(3))):
@
router
.
get
(
"/campus/overview"
,
summary
=
"校级端:校园整体总览"
,
description
=
"需角色等级≥
5
;返回学生总数、今日出勤、请假与指示数量等宏观数据。"
description
=
"需角色等级≥
4
;返回学生总数、今日出勤、请假与指示数量等宏观数据。"
)
async
def
campus
(
current_user
:
dict
=
Depends
(
require_role
(
5
))):
async
def
campus
(
current_user
:
dict
=
Depends
(
require_role
(
4
))):
return
await
campus_overview
(
current_user
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment