feat(shipment): 添加品牌字段- 在 gift 结构体中添加 Brand 字段,用于表示品牌信息
- 在 shipment 修改和查看接口中增加品牌信息的处理
This commit is contained in:
parent
2d57b61a14
commit
229b5cd43d
@ -2,9 +2,10 @@ package shipment
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"time"
|
||||||
|
|
||||||
"git.kumo.work/shama/service/client"
|
"git.kumo.work/shama/service/client"
|
||||||
"github.com/shopspring/decimal"
|
"github.com/shopspring/decimal"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type gift struct {
|
type gift struct {
|
||||||
@ -36,6 +37,7 @@ type GiftItem struct {
|
|||||||
TaxExemption string `json:"taxExemption"`
|
TaxExemption string `json:"taxExemption"`
|
||||||
ContainerNumber string `json:"containerNumber"`
|
ContainerNumber string `json:"containerNumber"`
|
||||||
SealNumber string `json:"sealNumber"`
|
SealNumber string `json:"sealNumber"`
|
||||||
|
Brand string `json:"brand"`
|
||||||
Remark string `json:"remark"`
|
Remark string `json:"remark"`
|
||||||
Sort int64 `json:"sort"`
|
Sort int64 `json:"sort"`
|
||||||
IsSerial int64 `json:"isSerial"`
|
IsSerial int64 `json:"isSerial"`
|
||||||
@ -79,6 +81,7 @@ type GiftAdd struct {
|
|||||||
TaxExemption string // 征免
|
TaxExemption string // 征免
|
||||||
ContainerNumber string // 箱号
|
ContainerNumber string // 箱号
|
||||||
SealNumber string // 封号
|
SealNumber string // 封号
|
||||||
|
Brand string // 品牌
|
||||||
Remark string // 备注
|
Remark string // 备注
|
||||||
Sort int64 // 排序
|
Sort int64 // 排序
|
||||||
}
|
}
|
||||||
|
@ -2,9 +2,10 @@ package modify
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"time"
|
||||||
|
|
||||||
"git.kumo.work/shama/service/client"
|
"git.kumo.work/shama/service/client"
|
||||||
"github.com/shopspring/decimal"
|
"github.com/shopspring/decimal"
|
||||||
"time"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type gift struct {
|
type gift struct {
|
||||||
@ -36,6 +37,7 @@ type GiftItem struct {
|
|||||||
TaxExemption string `json:"taxExemption"`
|
TaxExemption string `json:"taxExemption"`
|
||||||
ContainerNumber string `json:"containerNumber"`
|
ContainerNumber string `json:"containerNumber"`
|
||||||
SealNumber string `json:"sealNumber"`
|
SealNumber string `json:"sealNumber"`
|
||||||
|
Brand string `json:"brand"`
|
||||||
Remark string `json:"remark"`
|
Remark string `json:"remark"`
|
||||||
Sort int64 `json:"sort"`
|
Sort int64 `json:"sort"`
|
||||||
IsSerial int64 `json:"isSerial"`
|
IsSerial int64 `json:"isSerial"`
|
||||||
@ -78,6 +80,7 @@ type GiftAdd struct {
|
|||||||
TaxExemption string // 征免
|
TaxExemption string // 征免
|
||||||
ContainerNumber string // 箱号
|
ContainerNumber string // 箱号
|
||||||
SealNumber string // 封号
|
SealNumber string // 封号
|
||||||
|
Brand string // 品牌
|
||||||
Remark string // 备注
|
Remark string // 备注
|
||||||
Sort int64 // 排序
|
Sort int64 // 排序
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user