diff --git a/supply/afterService.go b/supply/afterService.go index 6599b80..ba58537 100644 --- a/supply/afterService.go +++ b/supply/afterService.go @@ -208,39 +208,37 @@ func (a *afterService) NewOrder(ctx context.Context, args ArgsAfterServiceNewOrd type ReplyAfterServiceDetail struct { Id uint `json:"id"` - AfsSn string `json:"afsSn"` - Status uint `json:"status"` - ApproveNotes string `json:"approveNotes"` - Result string `json:"result"` - CreatedAt int64 `json:"createdAt"` - UpdatedAt int64 `json:"updatedAt"` - SkuName string `json:"skuName"` - ImgUrl string `json:"imgUrl"` - SkuId uint `json:"skuId"` - SupplySkuId uint `json:"supplySkuId"` - Price decimal.Decimal `json:"price"` - SupplyPrice decimal.Decimal `json:"supplyPrice"` - Quantity uint `json:"quantity"` - HopeTypeName string `json:"hopeTypeName"` - TypeReasonName string `json:"typeReasonName"` - Imgs []string `json:"imgs"` - LogisticsCompany string `json:"logisticsCompany"` - WaybillCode string `json:"waybillCode"` - SendAt int64 `json:"sendAt"` - PackageSend uint `json:"packageSend"` - AfsPackageSend AfsPackageSend `json:"afsPackageSend"` - OrderSubSn uint64 `json:"orderSubSn"` - SourceId uint `json:"sourceId"` - ChannelId uint `json:"channelId"` + AfsSn string `json:"afsSn"` // 售后单号 + Status uint `json:"status"` // 状态 + ApproveNotes string `json:"approveNotes"` // 备注 + Result string `json:"result"` // 处理结果 + CreatedAt int64 `json:"createdAt"` // 创建时间 + UpdatedAt int64 `json:"updatedAt"` // 更新时间 + SkuName string `json:"skuName"` // 商品名称 + ImgUrl string `json:"imgUrl"` // 商品图片 + SkuId uint `json:"skuId"` // skuId + SupplySkuId uint `json:"supplySkuId"` // 供应商skuId + Price decimal.Decimal `json:"price"` // 采购单价 + SupplyPrice decimal.Decimal `json:"supplyPrice"` // 供货价 + Quantity uint `json:"quantity"` // 数量 + HopeTypeName string `json:"hopeTypeName"` // 期望售后类型 + TypeReasonName string `json:"typeReasonName"` // 售后原因 + Imgs []string `json:"imgs"` // 售后图片 + PackageSend uint `json:"packageSend"` // 发货状态 + AfsPackageSend AfsPackageSend `json:"afsPackageSend"` // 售后信息 + OrderSubSn uint64 `json:"orderSubSn"` // 订单号 + SourceOrderSubSn string `json:"sourceOrderSubSn"` // 供应商的订单号 + SourceId uint `json:"sourceId"` // 供应商id + ChannelId uint `json:"channelId"` // 客户id } type AfsPackageSend struct { - Name string `json:"name"` - Mobile string `json:"mobile"` + Name string `json:"name"` // 售后收件人 + Mobile string `json:"mobile"` /// 售后手机号 ZipCode string `json:"zipCode"` - Address string `json:"address"` - LogisticsCompany string `json:"logisticsCompany"` - WaybillCode string `json:"waybillCode"` - SendGoodsDate int64 `json:"sendGoodsDate"` + Address string `json:"address"` // 售后地址 + LogisticsCompany string `json:"logisticsCompany"` // 快递公司 + WaybillCode string `json:"waybillCode"` // 运单号 + SendGoodsDate int64 `json:"sendGoodsDate"` // 发货时间 } // Detail @Title 售后详情 diff --git a/supply/channel/afterService.go b/supply/channel/afterService.go index e3d70c1..16c96ff 100644 --- a/supply/channel/afterService.go +++ b/supply/channel/afterService.go @@ -206,6 +206,7 @@ type ReplyAfterServiceDetail struct { PackageSend uint `json:"packageSend"` AfsPackageSend AfsPackageSend `json:"afsPackageSend"` RefundFee decimal.Decimal `json:"refundFee"` + NewOrderSubSn string `json:"NewOrderSubSn"` } type AfsPackageSend struct { Name string `json:"name"`