mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-acgnshow.git
synced 2024-11-27 01:25:21 +08:00
🐛v0.2.3.1,考虑id_bind为2的情况(???),添加可退票提示
This commit is contained in:
parent
eccba542ad
commit
945112d4c5
@ -1,6 +1,5 @@
|
|||||||
import traceback
|
import traceback
|
||||||
|
|
||||||
from nonebot.typing import T_State
|
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
from .acgnapis import *
|
from .acgnapis import *
|
||||||
from nonebot_plugin_htmlrender import template_to_pic, html_to_pic
|
from nonebot_plugin_htmlrender import template_to_pic, html_to_pic
|
||||||
|
@ -39,8 +39,10 @@
|
|||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
{% if show.is_refund == 0 %}
|
{% if show.is_refund == 0 %}
|
||||||
{{ icon('no') }} 不可退
|
{{ icon('no') }} 不可退
|
||||||
|
{% else %}
|
||||||
|
{{ icon('yes') }} 支持退
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if show.id_bind == 1 %}
|
{% if show.id_bind >= 1 %}
|
||||||
{{ icon('yes') }} 实名制
|
{{ icon('yes') }} 实名制
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if show.has_eticket %}
|
{% if show.has_eticket %}
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[project]
|
[project]
|
||||||
name = "nonebot-plugin-acgnshow"
|
name = "nonebot-plugin-acgnshow"
|
||||||
version = "0.2.3"
|
version = "0.2.3.1"
|
||||||
description = "Nonebot2插件,从哔哩哔哩会员购获取简易展览数据"
|
description = "Nonebot2插件,从哔哩哔哩会员购获取简易展览数据"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = "<4.0,>=3.9"
|
requires-python = "<4.0,>=3.9"
|
||||||
|
Loading…
Reference in New Issue
Block a user