feat: 插件更新历史
This commit is contained in:
parent
e20ec4ddf5
commit
d0e596c93c
@ -411,6 +411,9 @@ class PluginManager(metaclass=Singleton):
|
||||
# 作者
|
||||
if plugin_info.get("author"):
|
||||
plugin.plugin_author = plugin_info.get("author")
|
||||
# 更新历史
|
||||
if plugin_info.get("history"):
|
||||
plugin.history = plugin_info.get("history")
|
||||
# 仓库链接
|
||||
plugin.repo_url = market
|
||||
# 本地标志
|
||||
|
@ -40,3 +40,5 @@ class Plugin(BaseModel):
|
||||
repo_url: Optional[str] = None
|
||||
# 安装次数
|
||||
install_count: Optional[int] = 0
|
||||
# 更新记录
|
||||
history: Optional[dict] = {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user