From 6f0eb5f4a5be8363360dd8f3fa699b3c3b4d3a5a Mon Sep 17 00:00:00 2001 From: xiaji Date: Mon, 25 May 2026 22:14:56 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=A7=BB=E9=99=A4=E5=8F=B3=E4=BE=A7?= =?UTF-8?q?=E6=B5=AE=E5=8A=A8=E9=9D=A2=E6=9D=BF=EF=BC=8C=E4=BF=9D=E7=95=99?= =?UTF-8?q?=E6=A0=87=E9=A2=98=E6=A0=8F=E4=B8=8B=E6=8B=89=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/templates/core/public_content.html | 158 ++++-------------------- 1 file changed, 23 insertions(+), 135 deletions(-) diff --git a/core/templates/core/public_content.html b/core/templates/core/public_content.html index 4b351bc..b633906 100644 --- a/core/templates/core/public_content.html +++ b/core/templates/core/public_content.html @@ -3,150 +3,38 @@ {% block content %} - - - -
-
API 说明
-
- API 说明 - -
-
-

端点:

- POST /api/v1/temp-upload/ -

参数:

-
    -
  • title 文件标题
  • -
  • file 文件(≤500MB)
  • -
  • expire_type expire_1h / 1d / 7d
  • -
-

cURL:

-
curl -X POST \
-  -F "file=@f.pdf" \
-  -F "title=文件" \
-  -F "expire_type=expire_1d" \
-  /api/v1/temp-upload/
-
-
- - -

公开内容

- {% if user.is_authenticated %} -
+
+ + {% if user.is_authenticated %} 添加内容 + {% endif %}
- {% endif %}