mirror of
https://gitee.com/XM-GO/PandaX.git
synced 2026-04-22 18:38:37 +08:00
[fix]异常
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -9,6 +9,7 @@
|
||||
*.test
|
||||
.idea
|
||||
pandax
|
||||
static
|
||||
|
||||
*.git
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ import (
|
||||
"pandax/apps/develop/entity"
|
||||
"pandax/apps/develop/gen"
|
||||
"pandax/apps/develop/services"
|
||||
"pandax/pkg/global"
|
||||
"strings"
|
||||
"sync"
|
||||
)
|
||||
@@ -104,7 +105,8 @@ func (g *GenTableApi) Insert(rc *restfulx.ReqCtx) {
|
||||
}
|
||||
genTable, err := tg.Generate()
|
||||
if err != nil {
|
||||
biz.ErrIsNil(err, "创建表结构")
|
||||
global.Log.Error("创建表结构")
|
||||
return
|
||||
}
|
||||
genTable.OrgId = rc.LoginAccount.OrganizationId
|
||||
genTable.Owner = rc.LoginAccount.UserName
|
||||
|
||||
Reference in New Issue
Block a user