package db import ( "github.com/gin-gonic/gin" "gorm.io/gorm" ) // GetOrm 获取orm连接 func GetOrm(c *gin.Context) (*gorm.DB, error) { return DB, nil }