diff --git a/server/service/staff_user.go b/server/service/staff_user.go index f265a69..838b42d 100644 --- a/server/service/staff_user.go +++ b/server/service/staff_user.go @@ -69,7 +69,7 @@ func (s *StaffUser) List(sess *session.AdminSession, req *api.StaffListReq) (int // config staffConfig := make(map[string]interface{}) - corpConfig := make(map[string]interface{}) + corpConfig := make([]map[string]interface{}, 0) json.Unmarshal([]byte(goutil.EncodeJSON(corpStaffConfig)), &corpConfig) json.Unmarshal([]byte(st.Config), &staffConfig) config := make([]map[string]interface{}, 0)