作者 陈志颖

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

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