Skip to content

Commit 54b2edb

Browse files
committed
Merge branch 'master' of github.com:erajayatech/hermes
2 parents 46cd796 + 43adcad commit 54b2edb

File tree

5 files changed

+11
-2
lines changed

5 files changed

+11
-2
lines changed

model/sales_item_bundling.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ type SalesItemBundling struct {
88
Sku string `json:"sku"`
99
Name string `json:"name"`
1010
Price int64 `json:"price"`
11+
PriceFormated string `json:"price_formated"`
1112
Fixed string `json:"fixed"`
1213
Qty int64 `json:"qty"`
1314
DiscountAmount int64 `json:"discount_amount"`

model/sales_merchant.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import "time"
55
type SalesMerchant struct {
66
ID int64 `json:"id"`
77
OrderID int64 `json:"order_id"`
8+
OrderNumberOms string `json:"order_number_oms"`
89
MerchantCode string `json:"merchant_code"`
910
MerchantName string `json:"merchant_name"`
1011
MerchantShippingTitle string `json:"merchant_shipping_title"`

model/sales_order.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ type SalesOrder struct {
1212
IsRefunded int `json:"is_refunded"`
1313
HoldBeforeStatus string `json:"hold_before_status"`
1414
Source string `json:"source"`
15+
OrderType string `json:"order_type"`
1516
IsVirtual int `json:"is_virtual"`
1617
CustomerID int64 `json:"customer_id"`
1718
CustomerGroupID int `json:"customer_group_id"`
@@ -85,11 +86,15 @@ type SalesOrder struct {
8586
OrderExpired time.Time `json:"order_expired"`
8687
DiscountCrmOtpcode string `json:"discount_crm_otpcode"`
8788
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"`
8892
}
8993

9094
type SalesOrderItemGroup struct {
9195
ID int64 `json:"id"`
9296
OrderID int64 `json:"order_id"`
97+
OrderNumberOms string `json:"order_number_oms"`
9398
MerchantCode string `json:"merchant_code"`
9499
MerchantName string `json:"merchant_name"`
95100
MerchantShippingTitle string `json:"merchant_shipping_title"`

model/sales_order_item.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ type SalesOrderItem struct {
2121
DiscountInternalAmount int64 `json:"discount_internal_amount"`
2222
DiscountInternalAmountFormated string `json:"discount_internal_amount_formated"`
2323
DiscountInternalJson string `json:"discount_internal_json"`
24+
TotalPrice int64 `json:"total_price"`
25+
TotalPriceFormated string `json:"total_price_formated"`
2426
OrderItemBundlingID int64 `json:"order_item_bundling_id"`
2527
ImageUrl string `json:"image_url"`
2628
OriginalPrice int64 `json:"original_price"`

model/sales_shipment.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ type SalesShipment struct {
66
ID int64 `json:"id"`
77
OrderID int64 `json:"order_id"`
88
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"`
1111
AwbNumber string `json:"awb_number"`
1212
ShippingMethodCode string `json:"shipping_method_code"`
1313
ShippingMethodTitle string `json:"shipping_method_title"`

0 commit comments

Comments
 (0)