|
|
package service
|
|
|
|
|
|
import (
|
|
|
"strconv"
|
|
|
|
|
|
"github.com/linmadan/egglib-go/core/application"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/mobile/cooperation/command"
|
|
|
"gitlab.fjmaimaimai.com/allied-creation/allied-creation-gateway/pkg/application/mobile/cooperation/dto"
|
...
|
...
|
@@ -23,10 +21,10 @@ func (srv CooperationProjectService) CreateCooperationProject(createCooperationP |
|
|
result, err := creationCooperationGateway.CooperationProjectAdd(allied_creation_cooperation.ReqCooperationProjectAdd{
|
|
|
CooperationProjectDescription: createCooperationProjectCommand.CooperationProjectDescription,
|
|
|
CooperationProjectName: createCooperationProjectCommand.CooperationProjectName,
|
|
|
PublisherUid: strconv.Itoa(int(createCooperationProjectCommand.Operator.UserId)),
|
|
|
PublisherUid: int(createCooperationProjectCommand.Operator.UserId),
|
|
|
SponsorUid: createCooperationProjectCommand.CooperationProjectSponsor,
|
|
|
CooperationProjectUndertakerType: createCooperationProjectCommand.CooperationProjectUndertakerType,
|
|
|
Images: createCooperationProjectCommand.Images,
|
|
|
// Images: createCooperationProjectCommand.Images,
|
|
|
})
|
|
|
|
|
|
if err != nil {
|
...
|
...
|
|