广告平台(站长下代理使用)
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.
 
 
 
 
 
 

15 lines
216 B

  1. package implement
  2. import (
  3. "applet/app/db/dao"
  4. "xorm.io/xorm"
  5. )
  6. type PermissionDb struct {
  7. Db *xorm.Engine
  8. }
  9. func NewPermissionDb(engine *xorm.Engine) dao.PermissionDao {
  10. return &PermissionDb{Db: engine}
  11. }