golang 的 rabbitmq 消费项目
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.

1 年之前
1234567891011
  1. package svc
  2. import (
  3. "applet/app/db"
  4. "github.com/gin-gonic/gin"
  5. "xorm.io/xorm"
  6. )
  7. func SaveUser(c *gin.Context) *xorm.Engine {
  8. return db.DBs[c.GetString("mid")]
  9. }