...
|
...
|
@@ -232,7 +232,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderGet(param ReqDivid |
|
|
// DividendsOrderBatchRemove 批量移除分红订单
|
|
|
func (gateway HttplibAlliedCreationCooperation) DividendsOrderBatchRemove(param ReqDividendsOrderBatchRemove) (*DataDividendsOrderBatchRemove, error) {
|
|
|
url := gateway.baseUrL + "/dividends-orders/batch-remove"
|
|
|
method := "DELETE"
|
|
|
method := "POST"
|
|
|
req := gateway.CreateRequest(url, method)
|
|
|
log.Logger.Debug("向业务模块请求数据:移除分红订单。", map[string]interface{}{
|
|
|
"api": method + ":" + url,
|
...
|
...
|
@@ -255,7 +255,7 @@ func (gateway HttplibAlliedCreationCooperation) DividendsOrderBatchRemove(param |
|
|
if err != nil {
|
|
|
return nil, fmt.Errorf("解析移除分红订单:%w", err)
|
|
|
}
|
|
|
var data DataDividendsOrderBatchRemove
|
|
|
err = gateway.GetResponseData(result, &data)
|
|
|
return &data, err
|
|
|
// var data []DataDividendsOrderBatchRemove
|
|
|
// err = gateway.GetResponseData(result, &data)
|
|
|
return nil, err
|
|
|
} |
...
|
...
|
|