智慧食堂
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.

14 line
178 B

  1. package db
  2. import (
  3. "xorm.io/xorm"
  4. )
  5. type PermissionDb struct {
  6. Db *xorm.Engine `json:"db"`
  7. }
  8. func (permissionDb *PermissionDb) Set() { // set方法
  9. permissionDb.Db = Db
  10. }