v1.10.3: 修「买完仍显示试用倒计时」与「到期时间显示永久」
根因:CardAuth 自动发卡只写 ca_cards(status=used + bind_info.machine_id), 从不写 ca_authorizations,而插件只查 /public/authorizations/query → 已购用户恒为空。 - checkLicense 增加卡密直验兜底:用本地记住的卡密调 /public/verify, 返回 valid/expire_time/is_permanent,直接作为授权状态与到期时间 - activateCard 成功即持久化 activeCardKey + activeCardInfo(换机/过期自动清除) - buy.js 不再用「永久」兜底到期时间(订单接口不返回 expire_time), 改为只在服务端明确给出时显示,否则显示套餐名 - 侧边栏已授权态显示套餐名 + 真实到期时间
This commit is contained in:
1 parent
99d1d1fe92
commit
226e4fbbf9
5 files changed
+81
-4
No files matched your search
+1
-1
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"manifest_version": 3,
|
||||
"name": "B站评论助手",
|
||||
"version": "1.10.2",
|
||||
"version": "1.10.3",
|
||||
"description": "B站网页版关键词评论助手:按搜索关键词找视频,默认模拟真人(打开视频页、滚到评论区、逐字输入、点发布),也可快速API直发;支持下载当前页视频;带防重复记录、可中断执行与页面实时进度浮层。",
|
||||
"permissions": ["storage", "tabs", "scripting", "sidePanel", "downloads", "declarativeNetRequest", "alarms"],
|
||||
"host_permissions": [
|
||||
|
||||
Reference in new issue
Block a user