🎨 清理多余文件,修改项目model
This commit is contained in:
@@ -4,9 +4,9 @@ import (
|
||||
"fmt"
|
||||
"strconv"
|
||||
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/global"
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/system"
|
||||
"github.com/flipped-aurora/gin-vue-admin/server/model/system/request"
|
||||
"git.echol.cn/loser/Go-Web-Template/server/global"
|
||||
"git.echol.cn/loser/Go-Web-Template/server/model/system"
|
||||
"git.echol.cn/loser/Go-Web-Template/server/model/system/request"
|
||||
)
|
||||
|
||||
//@author: [piexlmax](https://github.com/piexlmax)
|
||||
@@ -233,7 +233,7 @@ func (dictionaryDetailService *DictionaryDetailService) GetDictionaryTreeList(di
|
||||
} else {
|
||||
sysDictionaryDetails[i].Disabled = false // 默认不禁用
|
||||
}
|
||||
|
||||
|
||||
err = dictionaryDetailService.loadChildren(&sysDictionaryDetails[i])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
@@ -258,7 +258,7 @@ func (dictionaryDetailService *DictionaryDetailService) loadChildren(detail *sys
|
||||
} else {
|
||||
children[i].Disabled = false // 默认不禁用
|
||||
}
|
||||
|
||||
|
||||
err = dictionaryDetailService.loadChildren(&children[i])
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -335,7 +335,7 @@ func (dictionaryDetailService *DictionaryDetailService) GetDictionaryTreeListByT
|
||||
} else {
|
||||
sysDictionaryDetails[i].Disabled = false // 默认不禁用
|
||||
}
|
||||
|
||||
|
||||
err = dictionaryDetailService.loadChildren(&sysDictionaryDetails[i])
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
||||
Reference in New Issue
Block a user