Add query users by department ID (#175)

* Add query users by department ID

* fix dept parent id schema field

* fix dept get all select

* update the test sql
This commit is contained in:
Wu Clan
2023-07-09 16:39:37 +08:00
committed by GitHub
parent 865dfccf08
commit 44befcc79f
8 changed files with 39 additions and 18 deletions

View File

@ -51,7 +51,7 @@ class Settings(BaseSettings):
# Demo mode
# Only GET, OPTIONS requests are allowed
DEMO_MODE: bool = True
DEMO_MODE: bool = False
DEMO_MODE_EXCLUDE: set[tuple[str, str]] = {
('POST', f'{API_V1_STR}/auth/login'),
('POST', f'{API_V1_STR}/auth/logout'),