Explorar el Código

feat(channel-pricing): InitDB 启动时全量加载渠道定价缓存

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
master
fengsilin hace 2 meses
padre
commit
e5f029f91e
Se han modificado 1 ficheros con 5 adiciones y 1 borrados
  1. +5
    -1
      model/main.go

+ 5
- 1
model/main.go Ver fichero

@@ -203,7 +203,11 @@ func InitDB() (err error) {
}
common.SysLog("database migration started")
err = migrateDB()
return err
if err != nil {
return err
}
LoadChannelPricingCache()
return nil
} else {
common.FatalLog(err)
}


Cargando…
Cancelar
Guardar