mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 15:36:44 +00:00
🎨 修改每日素材表插件图片缓存时间
This commit is contained in:
parent
51a066aff9
commit
ddfbcfa5c9
@ -286,14 +286,14 @@ class DailyMaterial(Plugin, BasePlugin):
|
||||
{"data": render_data},
|
||||
{"width": 1164, "height": 500},
|
||||
file_type=file_type,
|
||||
ttl=7 * 24 * 60 * 60,
|
||||
ttl=30 * 24 * 60 * 60,
|
||||
),
|
||||
self.template_service.render( # 渲染武器素材页
|
||||
"genshin/daily_material/weapon.html",
|
||||
{"data": render_data},
|
||||
{"width": 1164, "height": 500},
|
||||
file_type=file_type,
|
||||
ttl=7 * 24 * 60 * 60,
|
||||
ttl=30 * 24 * 60 * 60,
|
||||
),
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user