feat 拆出qgdzs

This commit is contained in:
2026-01-12 16:53:43 +08:00
parent a089af576c
commit 7ff0234ca6
24 changed files with 1837 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package repository
import (
"fmt"
"git.hlsq.asia/mmorpg/service-common/db/mysql"
)
var dbName mysql.DBName = "qgdzs_db"
var (
cacheBySn = "c:%v:s:%v"
)
func keyCacheBySn(sn string, tableName string) string {
return fmt.Sprintf(cacheBySn, tableName, sn)
}