diff --git a/main.py b/main.py index bf21e65..809a998 100644 --- a/main.py +++ b/main.py @@ -172,7 +172,7 @@ async def index(code: str, ip: str = Depends(error_ip_limit), s: AsyncSession = if info.type != 'text': info.text = await storage.get_url(info) return { - 'detail': f'取件成功,文件将在{settings.DELETE_EXPIRE_FILES_INTERVAL}分钟后删除', + 'detail': f'取件成功,请立即下载,避免失效!', 'data': {'type': info.type, 'text': info.text, 'name': info.name, 'code': info.code} } diff --git a/templates/admin.html b/templates/admin.html index 870090c..7ca3d5f 100644 --- a/templates/admin.html +++ b/templates/admin.html @@ -40,7 +40,7 @@ color: #ccc !important; } - .el-input-group__prepend, .el-menu, .btn-prev, .el-input__inner, .el-input-group__append, .el-empty__description, .el-select-dropdown, .el-button { + .el-input-group__prepend, .el-menu, .el-menu-item, .el-input__inner, .el-input-group__append, .el-empty__description, .el-select-dropdown, .el-button { border: 1px solid transparent; background-color: rgba(0, 0, 0, 0.2); } @@ -157,9 +157,12 @@