Skip to content

Commit 0e04469

Browse files
committed
feat: upgrade fastapi-amis-admin to v0.1.0
1 parent 0aa6bb0 commit 0e04469

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fastapi_user_auth/site.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ async def get_page(self, request: Request) -> App:
4141
ActionType.Dialog(label='个人信息',
4242
dialog=Dialog(title='个人信息', actions=[], size=SizeEnum.lg,
4343
body=Service(
44-
schemaApi=AmisAPI(method='get',
44+
schemaApi=AmisAPI(method='post',
4545
url=f"{user_auth_app.router_path}/form/userinfo",
46-
cache=20000,
46+
cache=600000,
4747
responseData={'&': '${body}'})))),
4848
ActionType.Url(label='退出登录',
4949
url=f"{user_auth_app.router_path}/logout")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ classifiers = [
3737
]
3838
dependencies = [
3939
"pydantic>=1.9",
40-
"fastapi-amis-admin>=0.0.23",
40+
"fastapi-amis-admin>=0.1.0",
4141
"email-validator",
4242
"passlib",
4343
"bcrypt",

0 commit comments

Comments
 (0)