v0.2,不会接受字数大于5的展览查询,添加展览详细信息展示,返回详细错误信息

This commit is contained in:
2024-08-24 22:20:42 +08:00
parent 80a9b4d565
commit d5eeea6c80
11 changed files with 279 additions and 51 deletions

View File

@ -3,7 +3,8 @@ from pydantic import BaseModel
from nonebot import get_plugin_config
RES_PATH = Path(__file__).parent / "res"
TEMPLATE_NAME = "template.html"
LIST_TEMPLATE_NAME = "template.html"
DETAILS_TEMPLATE_NAME = "details.html"
BGIMAGE_PATH = RES_PATH / "bgimage"