1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
package yonghui
/**
订单数据推送
*/
type OrderPushReq struct {
CreateTime string `json:"createTime"`
FinishTime string `json:"finishTime"`
Freight int `json:"freight"`
GoodsDetails []struct {
ClassCode string `json:"classCode"`
ClassName string `json:"className"`
GoodsCode string `json:"goodsCode"`
GoodsCount int `json:"goodsCount"`
GoodsImage string `json:"goodsImage"`
GoodsName string `json:"goodsName"`
GoodsPrice int `json:"goodsPrice"`
GoodsSpec string `json:"goodsSpec"`
GoodsUnit string `json:"goodsUnit"`
NetPrice int `json:"netPrice"`
TaxPrice int `json:"taxPrice"`
TaxRate int `json:"taxRate"`
TotalPrice int `json:"totalPrice"`
} `json:"goodsDetails"`
OrderCode string `json:"orderCode"`
OrderPrice int `json:"orderPrice"`
OrderStatus string `json:"orderStatus"`
OrderType int `json:"orderType"`
PayDetails []struct {
PayAmount int `json:"payAmount"`
PayCode string `json:"payCode"`
PayType string `json:"payType"`
} `json:"payDetails"`
PayTime string `json:"payTime"`
PushType string `json:"pushType"`
ReceiverAddress string `json:"receiverAddress"`
ReceiverName string `json:"receiverName"`
ReceiverPhone string `json:"receiverPhone"`
ShipTime string `json:"shipTime"`
SignTime string `json:"signTime"`
UserName string `json:"userName"`
UserTelephone string `json:"userTelephone"`
}
type DataPushRes struct {
Result bool `json:"result"`
Message string `json:"message"`
}
/**
包裹数据推
*/
type PackagePushReq struct {
GoodsDetails []struct {
GoodsCode string `json:"goodsCode"`
GoodsCount int `json:"goodsCount"`
GoodsName string `json:"goodsName"`
LogisticCode string `json:"logisticCode"`
OutCountSum int `json:"outCountSum"`
PageOutCount int `json:"pageOutCount"`
ShipperCode string `json:"shipperCode"`
} `json:"goodsDetails"`
LogisticCode string `json:"logisticCode"`
LogisticStatus int `json:"logisticStatus"`
LogisticTime string `json:"logisticTime"`
OrderCode string `json:"orderCode"`
OrderKey string `json:"orderKey"`
PackageCode string `json:"packageCode"`
PackageRemark string `json:"packageRemark"`
PushType string `json:"pushType"`
ReceiverName string `json:"receiverName"`
ShipperCode string `json:"shipperCode"`
ShipperName string `json:"shipperName"`
ThirdOrderCode string `json:"thirdOrderCode"`
UserTelephone string `json:"userTelephone"`
}