aa
This commit is contained in:
@@ -2,6 +2,7 @@ package jdshop
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
"net/http"
|
||||
"strings"
|
||||
"time"
|
||||
@@ -171,7 +172,9 @@ func (p *PurchaseHandler) AdjustOrder(ctx *jxcontext.Context, order *model.Goods
|
||||
}
|
||||
|
||||
func (p *PurchaseHandler) GetJdsOrders(ctx *jxcontext.Context, orderCreatedStart, orderCreatedEnd string, current, pageSize int) (orderResult *jdshopapi.AllOrdersResult, err error) {
|
||||
orderResult, err = getAPI("2").AllOrders(&jdshopapi.AllOrdersParam{
|
||||
jdsapi := getAPI("2")
|
||||
globals.SugarLogger.Debugf("此时的cookie , %d", jdsapi.GetCookieCount())
|
||||
orderResult, err = jdsapi.AllOrders(&jdshopapi.AllOrdersParam{
|
||||
Current: current,
|
||||
PageSize: pageSize,
|
||||
OrderCreateDateRange: []string{orderCreatedStart, orderCreatedEnd},
|
||||
|
||||
Reference in New Issue
Block a user