...
|
...
|
@@ -123,8 +123,16 @@ func (srv CooperationApplicationsService) PersonGetCooperationApplications(appli |
|
|
}
|
|
|
|
|
|
// PersonCancelCooperationApplications 共创用户取消共创申请
|
|
|
func (srv CooperationApplicationsService) PersonCancelCooperationApplications(userMenusCommand *command.CancelCooperationApplicationCommand) (interface{}, error) {
|
|
|
return nil, nil
|
|
|
func (srv CooperationApplicationsService) PersonCancelCooperationApplications(cancelCommand *command.CancelCooperationApplicationCommand) (interface{}, error) {
|
|
|
creationCooperationGateway := allied_creation_cooperation.NewHttplibAlliedCreationCooperation(
|
|
|
cancelCommand.Operator)
|
|
|
_, err := creationCooperationGateway.CooperationApplicationCancel(allied_creation_cooperation.ReqCooperationApplicationCancel{
|
|
|
ApplicationId: cancelCommand.CooperationApplicationId,
|
|
|
})
|
|
|
if err != nil {
|
|
|
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
|
|
|
}
|
|
|
return cancelCommand, nil
|
|
|
}
|
|
|
|
|
|
// PersonSearchCooperationApplications 共创用户获取共创申请列表
|
...
|
...
|
|