查待出库的
This commit is contained in:
@@ -36,7 +36,7 @@ const (
|
||||
var (
|
||||
TopicList = []string{
|
||||
"open_message_order_order_pay", //订单付款
|
||||
// "open_message_pop_order_out", //POP订单出库
|
||||
"open_message_pop_order_out", //POP订单出库
|
||||
// "open_message_pop_order_create", //POP订单创建
|
||||
// "open_message_pop_order_change", //POP订单变更消息
|
||||
// "open_message_order_order_finish", //订单完成
|
||||
|
||||
@@ -3,7 +3,8 @@ package jcqapi
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
|
||||
"git.rosy.net.cn/baseapi"
|
||||
"go.uber.org/zap"
|
||||
@@ -22,5 +23,5 @@ func init() {
|
||||
}
|
||||
|
||||
func TestConsumeInfo(t *testing.T) {
|
||||
fmt.Println(time.Now().Second())
|
||||
fmt.Println(utils.Str2Float64("2.60"))
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ type CallBackResult struct {
|
||||
Pin string `json:"pin"`
|
||||
IDSopShipmenttype string `json:"idSopShipmenttype"`
|
||||
ScDT string `json:"scDT"`
|
||||
SellerDiscount string `json:"sellerDiscount"`
|
||||
ConsigneeInfo *CallBackConsigneeInfo `json:"consigneeInfo"`
|
||||
ItemInfoList []*CallBackItemInfoList `json:"itemInfoList"`
|
||||
}
|
||||
|
||||
@@ -99,6 +99,7 @@ type GetOrderResult struct {
|
||||
Pin string `json:"pin"`
|
||||
IDSopShipmenttype string `json:"idSopShipmenttype"`
|
||||
ScDT string `json:"scDT"`
|
||||
SellerDiscount string `json:"sellerDiscount"`
|
||||
}
|
||||
|
||||
//查询单个订单
|
||||
@@ -109,7 +110,7 @@ func (a *API) GetOrder(orderID int64, isStatus bool) (getOrderResult *GetOrderRe
|
||||
params["optional_fields"] = `orderType,payType,orderTotalPrice,orderSellerPrice,
|
||||
orderPayment,freightPrice,orderState,orderStateRemark,
|
||||
orderStartTime,orderEndTime,orderRemark,consigneeInfo,
|
||||
itemInfoList,pauseBizInfo,pin,idSopShipmenttype,scDT`
|
||||
itemInfoList,pauseBizInfo,pin,idSopShipmenttype,scDT,sellerDiscount`
|
||||
if isStatus {
|
||||
params["order_state"] = "WAIT_SELLER_STOCK_OUT,TRADE_CANCELED,PAUSE"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user