refactor🎨:部门创建添加事务,已经修改status字段为int类型
This commit is contained in:
1 parent
636294b6f5
commit
b97b3bc6d8
5 files changed
+36
-21
No files matched your search
@@ -98,7 +98,7 @@ func (e SysDept) Insert(c *gin.Context) {
|
||||
req := dto.SysDeptControl{}
|
||||
err := e.MakeContext(c).
|
||||
MakeOrm().
|
||||
Bind(&req, binding.JSON, nil).
|
||||
Bind(&req, binding.JSON).
|
||||
MakeService(&s.Service).
|
||||
Errors
|
||||
if err != nil {
|
||||
|
||||
Reference in new issue
Block a user