作者 yangfu

参数验证修改

... ... @@ -121,7 +121,11 @@ func (srv PersonStatisticsService) CompanyStatistics(cmd *command.CooperationPer
}
companyList = append(companyList, user.Org.OrgId)
}
if len(companyList) == 0 {
return map[string]interface{}{
"list": []struct{}{},
}, nil
}
gateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
cmd.Operator)
result, err := gateway.CooperationStatistics(allied_creation_cooperation.CooperationCompanyStatistics, map[string]interface{}{
... ...