修改获取sql db连接逻辑

This commit is contained in:
junleea 2025-10-02 21:33:59 +08:00
parent dae8a96478
commit 7be4aeb90e
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import (
var DB *gorm.DB var DB *gorm.DB
var DBMMap map[uint]*proto.DBValue var DBMMap = map[uint]*proto.DBValue{}
var DBMMapRWMutex = &sync.RWMutex{} //dbm日志 var DBMMapRWMutex = &sync.RWMutex{} //dbm日志
func Init() error { func Init() error {