作者 陈志颖

fix:共创申请一键审核返回参数调整

@@ -290,7 +290,9 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr @@ -290,7 +290,9 @@ func (cooperationApplicationService *CooperationApplicationService) OneClickAppr
290 if err := transactionContext.CommitTransaction(); err != nil { 290 if err := transactionContext.CommitTransaction(); err != nil {
291 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error()) 291 return nil, application.ThrowError(application.TRANSACTION_ERROR, err.Error())
292 } 292 }
293 - return cooperationApplicationsApproved, nil 293 + return map[string]interface{}{
  294 + "cooperationApplications": cooperationApplicationsApproved,
  295 + }, nil
294 } else { 296 } else {
295 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "未找到待审核的共创申请") 297 return nil, application.ThrowError(application.INTERNAL_SERVER_ERROR, "未找到待审核的共创申请")
296 } 298 }