|
@@ -9121,7 +9121,6 @@ func (this *CompanyTodoController) CompanyActivitySpecialPointsBill() {
|
|
|
br.ErrMsg = "获取任务信息失败,err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
- resp := make([]*cygx.CygxActivitySpecialPointsBillResp, 0)
|
|
|
|
|
|
|
|
|
specialSurplus, err := cygxService.GetSpecialSurplusByCompany(companyId)
|
|
@@ -9130,8 +9129,9 @@ func (this *CompanyTodoController) CompanyActivitySpecialPointsBill() {
|
|
|
br.ErrMsg = "获取专项调研剩余次数失败,err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ resp := new(cygx.CygxActivitySpecialPointsBillResp)
|
|
|
for _, v := range list {
|
|
|
- item := cygx.CygxActivitySpecialPointsBillResp{
|
|
|
+ item := cygx.CygxActivitySpecialPointsBillRespItem{
|
|
|
Id: v.Id,
|
|
|
Content: v.ActivityName,
|
|
|
Total: specialSurplus,
|
|
@@ -9144,7 +9144,7 @@ func (this *CompanyTodoController) CompanyActivitySpecialPointsBill() {
|
|
|
ChartPermissionId: v.ChartPermissionId,
|
|
|
ChartPermissionName: v.ChartPermissionName,
|
|
|
}
|
|
|
- resp = append(resp, &item)
|
|
|
+ resp.List = append(resp.List, &item)
|
|
|
}
|
|
|
|
|
|
|