|
@@ -6,8 +6,8 @@ import (
|
|
|
"eta/eta_api/utils"
|
|
|
)
|
|
|
|
|
|
-func GetCorrelationClassifyByIsMe(adminId, parentId int, classifyList []*data_manage.ChartClassifyItems) (list []*data_manage.ChartClassifyItems, err error) {
|
|
|
- chartInfoList, err := data_manage.GetChartInfoByAdminId([]int{utils.CHART_SOURCE_CORRELATION}, adminId)
|
|
|
+func GetCorrelationClassifyByIsMe(adminId, parentId, source int, classifyList []*data_manage.ChartClassifyItems) (list []*data_manage.ChartClassifyItems, err error) {
|
|
|
+ chartInfoList, err := data_manage.GetChartInfoByAdminId([]int{source}, adminId)
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|