作者 tangxuhui

修正日志输出

... ... @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackAdd(pa
url := gateway.baseUrL + "/contract-undertaker-feedbacks"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:创建共创合约反馈信息。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:创建共创合约反馈信息。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackAdd(pa
if err != nil {
return nil, fmt.Errorf("获取创建共创合约反馈信息失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:创建共创合约反馈信息。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:创建共创合约反馈信息。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -47,7 +47,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackUpdate
url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId)
method := "PUT"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:更新共创合约反馈信息。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:更新共创合约反馈信息。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -60,7 +60,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackUpdate
if err != nil {
return nil, fmt.Errorf("获取更新共创合约反馈信息失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:更新共创合约反馈信息。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:更新共创合约反馈信息。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -79,7 +79,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackSearch
url := gateway.baseUrL + "/contract-undertaker-feedbacks/search"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -92,7 +92,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackSearch
if err != nil {
return nil, fmt.Errorf("获取查询共创承接方反馈信息失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询共创承接方反馈信息。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -111,7 +111,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackRemove
url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId)
method := "DELETE"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:移除共创合约反馈信息。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:移除共创合约反馈信息。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -124,7 +124,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackRemove
if err != nil {
return nil, fmt.Errorf("获取移除共创合约反馈信息失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:移除共创合约反馈信息。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:移除共创合约反馈信息。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -143,7 +143,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackList(p
url := gateway.baseUrL + "/contract-undertaker-feedbacks"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -156,7 +156,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackList(p
if err != nil {
return nil, fmt.Errorf("获取返回共创合约反馈信息列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创合约反馈信息列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -174,7 +174,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackGet(pa
url := gateway.baseUrL + "/contract-undertaker-feedbacks/" + strconv.Itoa(param.ContractUndertakerFeedbackId)
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -187,7 +187,7 @@ func (gateway HttplibAlliedCreationCooperation) ContractUndertakerFeedbackGet(pa
if err != nil {
return nil, fmt.Errorf("获取返回共创合约反馈信息详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创合约反馈信息详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ...
... ... @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationUpdaet(par
url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.CooperationApplicationId)
method := "PUT"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:更新共创申请。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:更新共创申请。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationUpdaet(par
if err != nil {
return nil, fmt.Errorf("获取更新共创申请失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:更新共创申请。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:更新共创申请。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsBatchAppr
url := gateway.baseUrL + "/cooperation-applications/batch-approval"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:共创申请一键审核。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:共创申请一键审核。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsBatchAppr
if err != nil {
return nil, fmt.Errorf("获取共创申请一键审核失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:共创申请一键审核。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:共创申请一键审核。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationCancel(par
url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.ApplicationId) + "/cancel-application"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:取消共创申请。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:取消共创申请。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationCancel(par
if err != nil {
return nil, fmt.Errorf("获取取消共创申请失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:取消共创申请。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:取消共创申请。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsAgree(par
url := gateway.baseUrL + "/cooperation-applications/agree-cooperation-application"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:审核-同意共创申请。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:审核-同意共创申请。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsAgree(par
if err != nil {
return nil, fmt.Errorf("获取审核-同意共创申请失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:审核-同意共创申请。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:审核-同意共创申请。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationReject(par
url := gateway.baseUrL + "/cooperation-applications/reject-cooperation-application"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:审核-拒绝共创申请。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:审核-拒绝共创申请。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationReject(par
if err != nil {
return nil, fmt.Errorf("获取审核-拒绝共创申请失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:审核-拒绝共创申请。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:审核-拒绝共创申请。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationAdd(param
url := gateway.baseUrL + "/cooperation-applications"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:创建共创申请。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:创建共创申请。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationAdd(param
if err != nil {
return nil, fmt.Errorf("获取创建共创申请失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:创建共创申请。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:创建共创申请。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsSearch(pa
url := gateway.baseUrL + "/cooperation-applications/search"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询共创申请。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询共创申请。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsSearch(pa
if err != nil {
return nil, fmt.Errorf("获取查询共创申请失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询共创申请。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询共创申请。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -232,7 +232,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsApply(par
url := gateway.baseUrL + "/cooperation-applications/apply-for-cooperation"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:申请共创。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:申请共创。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -245,7 +245,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationsApply(par
if err != nil {
return nil, fmt.Errorf("获取申请共创失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:申请共创。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:申请共创。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -263,7 +263,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationRemove(par
url := gateway.baseUrL + "/cooperation-applications/" + strconv.Itoa(param.ApplicationId)
method := "DELETE"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:移除共创申请。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:移除共创申请。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -276,7 +276,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationRemove(par
if err != nil {
return nil, fmt.Errorf("获取移除共创申请失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:移除共创申请。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:移除共创申请。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -294,7 +294,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationList(param
url := gateway.baseUrL + "/cooperation-applications"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创申请列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创申请列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -307,7 +307,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationList(param
if err != nil {
return nil, fmt.Errorf("获取返回共创申请列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创申请列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创申请列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -325,7 +325,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationGet(param
url := gateway.baseUrL + "/cooperation-applications/{cooperationApplicationId}"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创申请详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创申请详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -338,7 +338,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationApplicationGet(param
if err != nil {
return nil, fmt.Errorf("获取返回共创申请详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创申请详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创申请详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ...
... ... @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractAdd(param Req
url := gateway.baseUrL + "/cooperation-contracts"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:创建共创合约。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:创建共创合约。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractAdd(param Req
if err != nil {
return nil, fmt.Errorf("获取创建共创合约失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:创建共创合约。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:创建共创合约。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractUpdate(param
url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId)
method := "PUT"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:更新共创合约。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:更新共创合约。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractUpdate(param
if err != nil {
return nil, fmt.Errorf("获取更新共创合约失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:更新共创合约。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:更新共创合约。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractSearch(param
url := gateway.baseUrL + "/cooperation-contracts/search"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询共创合约。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询共创合约。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractSearch(param
if err != nil {
return nil, fmt.Errorf("获取查询共创合约失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询共创合约。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询共创合约。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractsSearchByUnde
url := gateway.baseUrL + "/cooperation-contracts/search-by-undertaker"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractsSearchByUnde
if err != nil {
return nil, fmt.Errorf("获取根据承接人查询并返回共创项目合约失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:根据承接人查询并返回共创项目合约。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractRemove(param
url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId)
method := "DELETE"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:移除共创合约。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:移除共创合约。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractRemove(param
if err != nil {
return nil, fmt.Errorf("获取移除共创合约失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:移除共创合约。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:移除共创合约。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractList(param Re
url := gateway.baseUrL + "/cooperation-contracts"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创合约列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创合约列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractList(param Re
if err != nil {
return nil, fmt.Errorf("获取返回共创合约列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创合约列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创合约列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractGet(param Req
url := gateway.baseUrL + "/cooperation-contracts/" + strconv.Itoa(param.CooperationContractId)
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创合约详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创合约详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationContractGet(param Req
if err != nil {
return nil, fmt.Errorf("获取返回共创合约详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创合约详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创合约详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ...
... ... @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeAdd(param ReqCoop
url := gateway.baseUrL + "/cooperation-modes"
method := "post"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:创建共创模式。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:创建共创模式。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeAdd(param ReqCoop
if err != nil {
return nil, fmt.Errorf("获取创建共创模式失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:创建共创模式。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:创建共创模式。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeList(param ReqCoo
url := gateway.baseUrL + "/cooperation-modes"
method := "get"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创模式列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创模式列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeList(param ReqCoo
if err != nil {
return nil, fmt.Errorf("获取返回共创模式列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创模式列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创模式列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeGet(param ReqCoop
url := gateway.baseUrL + "/cooperation-modes/" + strconv.Itoa(param.CooperationModeId)
method := "get"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创模式详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创模式详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeGet(param ReqCoop
if err != nil {
return nil, fmt.Errorf("获取返回共创模式详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创模式详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创模式详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeUpdate(param ReqC
url := gateway.baseUrL + "/cooperation-modes" + strconv.Itoa(param.CooperationModeId)
method := "put"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:更新共创模式。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:更新共创模式。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeUpdate(param ReqC
if err != nil {
return nil, fmt.Errorf("获取更新共创模式失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:更新共创模式。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:更新共创模式。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeRemove(param ReqC
url := gateway.baseUrL + "/cooperation-modes/" + strconv.Itoa(param.CooperationModeId)
method := "delete"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:移除共创模式。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:移除共创模式。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModeRemove(param ReqC
if err != nil {
return nil, fmt.Errorf("获取移除共创模式失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:移除共创模式。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:移除共创模式。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModesSearch(param Req
url := gateway.baseUrL + "/cooperation-modes/search"
method := "post"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询共创模式。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询共创模式。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationModesSearch(param Req
if err != nil {
return nil, fmt.Errorf("获取查询共创模式失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询共创模式。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询共创模式。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ...
... ... @@ -14,7 +14,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectAdd(param ReqC
url := gateway.baseUrL + "/cooperation-projects"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:创建共创项目。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:创建共创项目。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -27,7 +27,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectAdd(param ReqC
if err != nil {
return nil, fmt.Errorf("获取创建共创项目失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:创建共创项目。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:创建共创项目。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -45,7 +45,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectList(param Req
url := gateway.baseUrL + "/cooperation-projects"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创项目列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创项目列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -58,7 +58,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectList(param Req
if err != nil {
return nil, fmt.Errorf("获取返回共创项目列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创项目列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创项目列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -76,7 +76,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectGet(param ReqC
url := gateway.baseUrL + "/cooperation-projects/" + strconv.Itoa(param.CooperationProjectId)
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回共创项目详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回共创项目详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -89,7 +89,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectGet(param ReqC
if err != nil {
return nil, fmt.Errorf("获取返回共创项目详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回共创项目详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回共创项目详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -107,7 +107,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectUpdate(param R
url := gateway.baseUrL + "/cooperation-projects/{cooperationProjectId}"
method := "PUT"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:更新共创项目。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:更新共创项目。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -120,7 +120,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectUpdate(param R
if err != nil {
return nil, fmt.Errorf("获取更新共创项目失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:更新共创项目。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:更新共创项目。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -138,7 +138,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectRemove(param R
url := gateway.baseUrL + "/cooperation-projects/" + strconv.Itoa(param.CooperationProjectID)
method := "DELETE"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:移除共创项目。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:移除共创项目。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -151,7 +151,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectRemove(param R
if err != nil {
return nil, fmt.Errorf("获取移除共创项目失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:移除共创项目。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:移除共创项目。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -169,7 +169,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsRelease(param
url := gateway.baseUrL + "/cooperation-projects/release-cooperation-project"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:发布共创项目。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:发布共创项目。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -182,7 +182,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsRelease(param
if err != nil {
return nil, fmt.Errorf("获取发布共创项目失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:发布共创项目。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:发布共创项目。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -200,7 +200,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsSearch(param
url := gateway.baseUrL + "/cooperation-projects/search"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询共创项目。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询共创项目。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -213,7 +213,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsSearch(param
if err != nil {
return nil, fmt.Errorf("获取查询共创项目失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询共创项目。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询共创项目。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -231,7 +231,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsCheck(param R
url := gateway.baseUrL + "/cooperation-projects/check"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -244,7 +244,7 @@ func (gateway HttplibAlliedCreationCooperation) CooperationProjectsCheck(param R
if err != nil {
return nil, fmt.Errorf("获取判断当前勾选的承接对象是否存在用户失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:判断当前勾选的承接对象是否存在用户。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ...
... ... @@ -15,7 +15,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderAdd(param ReqDivid
url := gateway.baseUrL + "/dividends-orders"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:创建分红订单。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:创建分红订单。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -28,7 +28,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderAdd(param ReqDivid
if err != nil {
return nil, fmt.Errorf("获取创建分红订单失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:创建分红订单。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:创建分红订单。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -46,7 +46,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderUpdate(param ReqDi
url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId)
method := "PUT"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:更新分红订单。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:更新分红订单。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -59,7 +59,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderUpdate(param ReqDi
if err != nil {
return nil, fmt.Errorf("获取更新分红订单失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:更新分红订单。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:更新分红订单。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -77,7 +77,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderSearch(param ReqDi
url := gateway.baseUrL + "/dividends-orders/search"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询分红订单。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询分红订单。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -90,7 +90,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderSearch(param ReqDi
if err != nil {
return nil, fmt.Errorf("获取查询分红订单失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询分红订单。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询分红订单。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -108,7 +108,7 @@ func (gateway HttplibAlliedCreationCooperation) SearchOrderNumber(param ReqSearc
url := gateway.baseUrL + "/search-order-number"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:模糊查询分红订单号。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:模糊查询分红订单号。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -121,7 +121,7 @@ func (gateway HttplibAlliedCreationCooperation) SearchOrderNumber(param ReqSearc
if err != nil {
return nil, fmt.Errorf("获取模糊查询分红订单号失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:模糊查询分红订单号。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:模糊查询分红订单号。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -139,7 +139,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderRemove(param ReqDi
url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId)
method := "DELETE"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:移除分红订单。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:移除分红订单。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -152,7 +152,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderRemove(param ReqDi
if err != nil {
return nil, fmt.Errorf("获取移除分红订单失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:移除分红订单。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:移除分红订单。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -170,7 +170,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderList(param ReqDivi
url := gateway.baseUrL + "/dividends-orders"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回分红订单列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回分红订单列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -183,7 +183,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderList(param ReqDivi
if err != nil {
return nil, fmt.Errorf("获取返回分红订单列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回分红订单列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回分红订单列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -201,7 +201,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderGet(param ReqDivid
url := gateway.baseUrL + "/dividends-orders/" + strconv.Itoa(param.DividendsOrderId)
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回分红订单详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回分红订单详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -214,7 +214,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderGet(param ReqDivid
if err != nil {
return nil, fmt.Errorf("获取返回分红订单详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回分红订单详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回分红订单详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ...
... ... @@ -14,7 +14,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateIncentive(param
url := gateway.baseUrL + "/dividends-estimates/estimate-dividends-incentives"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:确定预算分红激励。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:确定预算分红激励。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -27,7 +27,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateIncentive(param
if err != nil {
return nil, fmt.Errorf("获取确定预算分红激励失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:确定预算分红激励。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:确定预算分红激励。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -45,7 +45,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateAdd(param ReqDi
url := gateway.baseUrL + "/dividends-estimates"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:创建分红预算。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:创建分红预算。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -58,7 +58,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateAdd(param ReqDi
if err != nil {
return nil, fmt.Errorf("获取创建分红预算失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:创建分红预算。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:创建分红预算。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -76,7 +76,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re
url := gateway.baseUrL + "/dividends-estimates/{dividendsEstimateId}"
method := "PUT"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:更新分红预算。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:更新分红预算。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -89,7 +89,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateUpdate(param Re
if err != nil {
return nil, fmt.Errorf("获取更新分红预算失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:更新分红预算。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:更新分红预算。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -107,7 +107,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends
url := gateway.baseUrL + "/dividends-estimates/search-dividends-incentives"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询业绩分红。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询业绩分红。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -120,7 +120,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateSearchDividends
if err != nil {
return nil, fmt.Errorf("获取查询业绩分红失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询业绩分红。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询业绩分红。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -138,7 +138,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R
url := gateway.baseUrL + "/dividends-estimates/search"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询分红预算单。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询分红预算单。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -151,7 +151,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearch(param R
if err != nil {
return nil, fmt.Errorf("获取查询分红预算单失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询分红预算单。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询分红预算单。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -169,7 +169,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa
url := gateway.baseUrL + "/dividends-estimates/search-money-incentives"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:查询金额激励分红。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:查询金额激励分红。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -182,7 +182,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesSearchMoney(pa
if err != nil {
return nil, fmt.Errorf("获取查询金额激励分红失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:查询金额激励分红。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:查询金额激励分红。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -200,7 +200,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R
url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId) + "/cancel"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:取消分红预算。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:取消分红预算。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -213,7 +213,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesCancel(param R
if err != nil {
return nil, fmt.Errorf("获取取消分红预算失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:取消分红预算。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:取消分红预算。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -231,7 +231,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys
url := gateway.baseUrL + "/dividends-estimates/estimate-money-incentives"
method := "POST"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:确定预算金额激励分红。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:确定预算金额激励分红。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -244,7 +244,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesEstimateMoneys
if err != nil {
return nil, fmt.Errorf("获取确定预算金额激励分红失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:确定预算金额激励分红。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:确定预算金额激励分红。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -263,7 +263,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti
url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId)
method := "DELETE"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:移除分红预算。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:移除分红预算。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -276,7 +276,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendAestimatesdivDidendsEsti
if err != nil {
return nil, fmt.Errorf("获取移除分红预算失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:移除分红预算。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:移除分红预算。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -294,7 +294,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateListDividend(pa
url := gateway.baseUrL + "/dividends-estimates/list-dividends-incentives"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回业绩激励分红详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回业绩激励分红详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -307,7 +307,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateListDividend(pa
if err != nil {
return nil, fmt.Errorf("获取返回业绩激励分红详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回业绩激励分红详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回业绩激励分红详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -325,7 +325,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateList(param ReqD
url := gateway.baseUrL + "/dividends-estimates"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回分红预算列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回分红预算列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -338,7 +338,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateList(param ReqD
if err != nil {
return nil, fmt.Errorf("获取返回分红预算列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回分红预算列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回分红预算列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -356,7 +356,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateGet(param ReqDi
url := gateway.baseUrL + "/dividends-estimates/" + strconv.Itoa(param.DividendsEstimateId)
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回分红预算详情。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回分红预算详情。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -369,7 +369,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimateGet(param ReqDi
if err != nil {
return nil, fmt.Errorf("获取返回分红预算详情失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回分红预算详情。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回分红预算详情。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ... @@ -387,7 +387,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesListMoney(para
url := gateway.baseUrL + "/dividends-estimates/list-money-incentives"
method := "GET"
req := gateway.CreateRequest(url, method)
log.Logger.Debug("向基础模块请求数据:返回金额激励分红列表。", map[string]interface{}{
log.Logger.Debug("向业务模块请求数据:返回金额激励分红列表。", map[string]interface{}{
"api": method + ":" + url,
"param": param,
})
... ... @@ -400,7 +400,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsEstimatesListMoney(para
if err != nil {
return nil, fmt.Errorf("获取返回金额激励分红列表失败:%w", err)
}
log.Logger.Debug("获取基础模块请求数据:返回金额激励分红列表。", map[string]interface{}{
log.Logger.Debug("获取业务模块请求数据:返回金额激励分红列表。", map[string]interface{}{
"result": string(byteResult),
})
var result service_gateway.GatewayResponse
... ...