|
@@ -14,7 +14,7 @@ import (
|
|
|
func GetSelectItemHandler(r *ghttp.Request) {
|
|
|
rData, err := func() (interface{}, error) {
|
|
|
displayMap := make(map[string]interface{})
|
|
|
- for deptId, channelCode := range g.Cfg().MustGet(gctx.New(), "deptDefaultChannel").Map() {
|
|
|
+ for deptId, channelCode := range g.Cfg("global").MustGet(gctx.New(), "deptDefaultChannel").Map() {
|
|
|
displayMap[deptId] = channelCode
|
|
|
for _, node := range jyutil.JyDepartmentManager.GetDeptAllChildNode(gconv.Int(deptId)) {
|
|
|
displayMap[gconv.String(node.Id)] = channelCode
|