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:
@@ -14,6 +14,9 @@ func ValidateChannelConfig(ch *Channel) error {
|
||||
}
|
||||
tables := uniqueTables(ch.Local.Tables, ch.Remote.Tables)
|
||||
if len(tables) == 0 {
|
||||
if ch.IsSystemDefault {
|
||||
return nil // Z12 默认同步通道:不强制表白名单(Z4 整库)
|
||||
}
|
||||
return fmt.Errorf("同步表白名单为空:请至少在 local 或 remote 填写表名")
|
||||
}
|
||||
for _, t := range tables {
|
||||
|
||||
Reference in New Issue
Block a user