作者 tangxuhui

修正 bug 1058

... ... @@ -57,10 +57,10 @@ func (srv CooperationApplicationsService) AuditCooperationApplications(auditComm
// applicationIds = append(applicationIds, idStr)
//}
_, err := creationCooperationGateway.CooperationApplicationsApproval(allied_creation_cooperation.ReqCooperationApplicationApproval{
CooperationApplicationId: strconv.Itoa(auditCommand.CooperationApplicationId),
CooperationApplicationDescription: auditCommand.CooperationApplicationVerifyDescription,
Action: auditCommand.CooperationApplicationStatus,
Code: "a1-2",
CooperationApplicationId: strconv.Itoa(auditCommand.CooperationApplicationId),
CooperationApplicationVerifyDescription: auditCommand.CooperationApplicationVerifyDescription,
Action: auditCommand.CooperationApplicationStatus,
Code: "a1-2",
})
if err != nil {
return nil, application.ThrowError(application.BUSINESS_ERROR, err.Error())
... ...
... ... @@ -93,13 +93,13 @@ type (
}
)
//共创申请批量审核
//共创申请审核
type (
ReqCooperationApplicationApproval struct {
CooperationApplicationId string `json:"cooperationApplicationId"`
CooperationApplicationDescription string `json:"cooperationApplicationDescription"` //描述
Action int `json:"action"` //审核动作,1同意,2拒绝
Code string `cname:"菜单编码" json:"code" valid:"Required"`
CooperationApplicationId string `json:"cooperationApplicationId"`
CooperationApplicationVerifyDescription string `json:"cooperationApplicationVerifyDescription"` //描述
Action int `json:"action"` //审核动作,1同意,2拒绝
Code string `json:"code"`
}
DataCooperationApplicationApproval struct {
... ...