File tree Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Expand file tree Collapse file tree 5 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ type SalesItemBundling struct {
8
8
Sku string `json:"sku"`
9
9
Name string `json:"name"`
10
10
Price int64 `json:"price"`
11
+ PriceFormated string `json:"price_formated"`
11
12
Fixed string `json:"fixed"`
12
13
Qty int64 `json:"qty"`
13
14
DiscountAmount int64 `json:"discount_amount"`
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import "time"
5
5
type SalesMerchant struct {
6
6
ID int64 `json:"id"`
7
7
OrderID int64 `json:"order_id"`
8
+ OrderNumberOms string `json:"order_number_oms"`
8
9
MerchantCode string `json:"merchant_code"`
9
10
MerchantName string `json:"merchant_name"`
10
11
MerchantShippingTitle string `json:"merchant_shipping_title"`
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ type SalesOrder struct {
12
12
IsRefunded int `json:"is_refunded"`
13
13
HoldBeforeStatus string `json:"hold_before_status"`
14
14
Source string `json:"source"`
15
+ OrderType string `json:"order_type"`
15
16
IsVirtual int `json:"is_virtual"`
16
17
CustomerID int64 `json:"customer_id"`
17
18
CustomerGroupID int `json:"customer_group_id"`
@@ -85,11 +86,15 @@ type SalesOrder struct {
85
86
OrderExpired time.Time `json:"order_expired"`
86
87
DiscountCrmOtpcode string `json:"discount_crm_otpcode"`
87
88
DiscountCrmVouchercode string `json:"discount_crm_vouchercode"`
89
+ OrderTimes string `json:"order_times"`
90
+ Entity string `json:"entity"`
91
+ SessionInfo string `json:"session_info" gorm:"column:session_info"`
88
92
}
89
93
90
94
type SalesOrderItemGroup struct {
91
95
ID int64 `json:"id"`
92
96
OrderID int64 `json:"order_id"`
97
+ OrderNumberOms string `json:"order_number_oms"`
93
98
MerchantCode string `json:"merchant_code"`
94
99
MerchantName string `json:"merchant_name"`
95
100
MerchantShippingTitle string `json:"merchant_shipping_title"`
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ type SalesOrderItem struct {
21
21
DiscountInternalAmount int64 `json:"discount_internal_amount"`
22
22
DiscountInternalAmountFormated string `json:"discount_internal_amount_formated"`
23
23
DiscountInternalJson string `json:"discount_internal_json"`
24
+ TotalPrice int64 `json:"total_price"`
25
+ TotalPriceFormated string `json:"total_price_formated"`
24
26
OrderItemBundlingID int64 `json:"order_item_bundling_id"`
25
27
ImageUrl string `json:"image_url"`
26
28
OriginalPrice int64 `json:"original_price"`
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ type SalesShipment struct {
6
6
ID int64 `json:"id"`
7
7
OrderID int64 `json:"order_id"`
8
8
CustomerID int64 `json:"customer_id"`
9
- SalesMerchantID int64 `json:"sales_merchant_id"`
10
- SalesMerchantCode string `json:"sales_merchant_code"`
9
+ SalesMerchantID int64 `json:"sales_merchant_id"`
10
+ SalesMerchantCode string `json:"sales_merchant_code"`
11
11
AwbNumber string `json:"awb_number"`
12
12
ShippingMethodCode string `json:"shipping_method_code"`
13
13
ShippingMethodTitle string `json:"shipping_method_title"`
You can’t perform that action at this time.
0 commit comments