feat: add Yuheng ticket bind, trial SMS off, shared bindings

Ship ticket-exchange and bind/policy for Z13, keep trial binds SMS-free, allow shared company bindings, and align SyncPage plus sync docs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
whm
2026-08-05 15:09:49 +08:00
parent f90245db9c
commit d195aa4804
19 changed files with 957 additions and 96 deletions

View File

@@ -19,6 +19,13 @@ Auth:
PhoneLoginOnly: false
RequirePhoneBound: false
SMS:
Provider: off
CodeTTLSeconds: 300
ResendSeconds: 60
# 试运行关绑定短信;正式接短信后 Provider=dev|真实厂商 且 RequireForBind=true
RequireForBind: false
License:
Enabled: false
Customer: ""
@@ -32,6 +39,12 @@ License:
Agent:
CapsuleSecret: "dev-agent-capsule-secret"
RegisterSecret: "dev-only-change-me"
YuhengTicket:
Enabled: true
Secret: "dev-yuheng-ticket-secret-change-me"
Issuer: yuheng
Audience: aijianzhan
MaxAgeSec: 120
Storage:
Driver: local