validate auth from old app and fill auth info

This commit is contained in:
vanilia
2025-11-28 16:43:01 +07:00
parent 219d30b9c3
commit 708bceccdd
15 changed files with 138 additions and 833 deletions
+4 -1
View File
@@ -11,9 +11,12 @@ type Dualtx struct {
}
func NewDualtx() *Dualtx {
simgosTx := dg.IS["simrs"].Begin()
simgosTx.Exec(`SET LOCAL simx.sync_source = 'new'`)
return &Dualtx{
Sync: dg.I.Begin(),
Simgos: dg.IS["simrs"].Begin(),
Simgos: simgosTx,
}
}