...
|
...
|
@@ -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
|
...
|
...
|
|