...
|
...
|
@@ -24,7 +24,7 @@ func (controller *CooperationContractController) UpdateCooperationContract() { |
|
|
updateCooperationContractCommand := &command.UpdateCooperationContractCommand{}
|
|
|
controller.Unmarshal(updateCooperationContractCommand)
|
|
|
contractId, _ := controller.GetInt(":contractId")
|
|
|
updateCooperationContractCommand.CooperationContractId = contractId
|
|
|
updateCooperationContractCommand.CooperationContract.CooperationContractId = contractId
|
|
|
data, err := cooperationContractService.UpdateCooperationContract(updateCooperationContractCommand)
|
|
|
controller.Response(data, err)
|
|
|
}
|
...
|
...
|
|