feat: supports for provider reloading

This commit is contained in:
Junyan Qin
2025-01-04 23:07:10 +08:00
parent 5e5a3639d1
commit 97bb24c5b9
8 changed files with 47 additions and 17 deletions

View File

@@ -9,7 +9,7 @@ from .. import group
class StatsRouterGroup(group.RouterGroup):
async def initialize(self) -> None:
@self.route('/basic', methods=['GET'])
@self.route('/basic', methods=['GET'], auth_type=group.AuthType.USER_TOKEN)
async def _() -> str:
conv_count = 0