package svc import ( db "code.fnuoos.com/zhimeng/model.git/src" "github.com/gin-gonic/gin" "xorm.io/xorm" ) func MasterDb(c *gin.Context) *xorm.Engine { return db.DBs[c.GetString("mid")] }