feat: Add transaction (#124)

This commit is contained in:
zhangwenjian
2020-06-28 22:14:53 +08:00
parent 8407b1ad31
commit e05c5e8a8b
4 changed files with 264 additions and 16 deletions
+2 -1
View File
@@ -2,10 +2,10 @@ package models
import (
"errors"
log "github.com/sirupsen/logrus"
"go-admin/global/orm"
"go-admin/tools"
"golang.org/x/crypto/bcrypt"
log "github.com/sirupsen/logrus"
"strings"
)
@@ -59,6 +59,7 @@ type SysUserB struct {
BaseModel
}
type SysUser struct {
SysUserId
SysUserB