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