正在显示
1 个修改的文件
包含
3 行增加
和
1 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论