feat(label-designer): 面单设计改为永久免费,不再需要授权

- 遵循既定收费原则(纯前端免费/服务端算力收费):label-designer 全程本地
  (pdf.js+zxing-wasm+bwip-js),无任何网络请求,不消耗服务端算力
- 前端 license.ts 移除 /label-designer(15->14);服务端 PROTECTED_TOOLS 移除(17->16)
- 移出后自然回到原分类'图片和视频',不会无处可归
- Pricing 移除该条目、15->14、免费档补入面单设计;浮条 CTA -> 永久解锁 14 个功能
- 修正 Pricing 陈旧数据'6 个算力型高级功能'->9 个(与实际展示一致)
- 验证: /label-designer 无浮条无弹窗;受控工具CTA=14;侧边栏授权应用=14/图片和视频=10
This commit is contained in:
personal82555 committed 2026-10-14 23:31:15 +08:00
1 parent e1ae8a7bd8
commit aeaaa85e03
5 files changed
+16 -13

No files matched your search

+1 -1
View File
@@ -46,7 +46,7 @@ TRIAL_FILE = os.environ.get("TRIAL_FILE", "/app/data/trials.json")
TRIAL_MS = int(os.environ.get("TRIAL_MS_MIN", "30")) * 60 * 1000
DAY_MS = 24 * 60 * 60 * 1000
TZ_OFFSET_MS = 8 * 60 * 60 * 1000 # 北京时间 UTC+8 —— 重置对齐自然日 0 点
PROTECTED_TOOLS = {"translator", "image-ocr", "pdf-ocr", "ai-retouch", "label-designer", "doc-convert", "image-tools", "pdf-tools", "video-tools", "audio-tools", "text-to-image", "ai-image-tools", "ai-chat", "copywriting", "screenshot-qa", "video-subtitle", "ai-gen"}
PROTECTED_TOOLS = {"translator", "image-ocr", "pdf-ocr", "ai-retouch", "doc-convert", "image-tools", "pdf-tools", "video-tools", "audio-tools", "text-to-image", "ai-image-tools", "ai-chat", "copywriting", "screenshot-qa", "video-subtitle", "ai-gen"}
MACHINE_RE = re.compile(r"^\d{10,16}$")
# verify() messages that unconditionally block activation