示例#1
0
文件: admin.go 项目: yearnfar/gocms
func (m *Admin) Remove() (err error) {
	return db.DeleteById(m, m.Id)
}
示例#2
0
文件: site.go 项目: yearnfar/gocms
func (m *Site) Remove() (err error) {
	return db.DeleteById(m, m.Id)
}