|
|
|
@ -18,7 +18,7 @@ type AfterServiceInterface interface {
|
|
|
|
|
// Reason 获取售后原因
|
|
|
|
|
Reason(ctx context.Context, args ArgsAfterServiceReason, reply *[]ReplyAfterServiceReason) error
|
|
|
|
|
// Apply @Title 发起售后
|
|
|
|
|
Apply(ctx context.Context, args ArgsAfterServiceApply, reply *ReplyAfterServiceApply) error
|
|
|
|
|
Apply(ctx context.Context, args ArgsAfterServiceApply, sourceAfsSn *string) error
|
|
|
|
|
// LogisticsAddress @Title 寄回地址
|
|
|
|
|
LogisticsAddress(ctx context.Context, afterServiceSn string, reply *ReplyAfterServiceLogisticsAddress) error
|
|
|
|
|
// BackLogisticsBill @Title 回传物流信息
|
|
|
|
@ -54,7 +54,7 @@ type ReplyAfterServiceReason struct {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ArgsAfterServiceApply struct {
|
|
|
|
|
Type string // 售后类型
|
|
|
|
|
TypeId string // 售后类型
|
|
|
|
|
TypeName string // 售后名称
|
|
|
|
|
ReasonCode string // 售后原因编码
|
|
|
|
|
ReasonName string // 售后原因描述
|
|
|
|
@ -64,11 +64,6 @@ type ArgsAfterServiceApply struct {
|
|
|
|
|
Pictures []string // 图片地址数组
|
|
|
|
|
Quantity uint // 售后申请数量
|
|
|
|
|
}
|
|
|
|
|
type ReplyAfterServiceApply struct {
|
|
|
|
|
AfterServiceSn string `json:"afterServiceSn"` // 渠道售后单号
|
|
|
|
|
ChannelAfterServiceSn string `json:"channelAfterServiceSn"` // 渠道售后单号
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ReplyAfterServiceLogisticsAddress struct {
|
|
|
|
|
Name string `json:"name"` // 姓名
|
|
|
|
|
Mobile string `json:"mobile"` // 手机号
|
|
|
|
|