feat: add Z12/Z13 bind APIs, stock import, and sync docs
Enable auto default sync channels on agent activate, bind-code/phone confirm flows, publish ALTER, and align admin/yuheng docs with the production bind path.
This commit is contained in:
@@ -68,8 +68,11 @@ type StorageConf struct {
|
||||
}
|
||||
|
||||
type DBSyncConf struct {
|
||||
Enabled bool `json:",default=true"`
|
||||
Enabled bool `json:",default=true"`
|
||||
DataDir string `json:",default=./data/dbsync"` // 通道/冲突/LWW 审计 JSON
|
||||
LwwAuditTTLDays int `json:",default=90"` // 超管 LWW 覆盖日志保留天数
|
||||
ReconcileMinSec int `json:",default=300"` // 手动对账最小间隔(秒)
|
||||
LwwAuditTTLDays int `json:",default=90"` // 超管 LWW 覆盖日志保留天数
|
||||
ReconcileMinSec int `json:",default=300"` // 手动对账最小间隔(秒)
|
||||
// Z12:公司默认同步通道(启用智能体时自动创建)
|
||||
DefaultRemoteDriver string `json:",default=postgres"`
|
||||
DefaultRemoteDSN string `json:",optional"` // 空则用 sqlite 联调文件:./data/dbsync/tenant_{id}_online.db
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user