refactor🎨: 注释演示环境代码

This commit is contained in:
zhangwenjian committed 2021-06-13 21:29:32 +08:00
1 parent d8a627f880
commit 58a9b00120
3 files changed
+2 -3

No files matched your search

-1
View File
@@ -106,7 +106,6 @@ func (e *SysRole) Insert(c *dto.SysRoleControl, cb *casbin.SyncedEnforcer) error
// Update 修改SysRole对象
func (e *SysRole) Update(c *dto.SysRoleControl, cb *casbin.SyncedEnforcer) error {
var err error
tx := e.Orm.Debug().Begin()
defer func() {
if err != nil {