广告平台(站长下代理使用)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 regels
195 B

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