|
|
|
@ -291,3 +291,22 @@ func (a *afterService) FindByAfsId(ctx context.Context, afsId uint) (reply Reply
|
|
|
|
|
err = xClient.Call(ctx, "FindByAfsId", afsId, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type ReplySourceSkuIdsAfsInfos struct {
|
|
|
|
|
SourceId uint // 供应商Id
|
|
|
|
|
SourceName string // 供应商名称
|
|
|
|
|
ChannelId uint // 客户Id
|
|
|
|
|
SkuId uint // 沙马skuId
|
|
|
|
|
HopeTypeName string // 期望售后类型
|
|
|
|
|
TypeReasonName string // 售后原因
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// FindBySourceSkuIdsAfsInfos @Title 根据sourceSkuId查询售后信息
|
|
|
|
|
func (a *afterService) FindBySourceSkuIdsAfsInfos(ctx context.Context, sourceSkuIds []uint) (reply []ReplySourceSkuIdsAfsInfos, err error) {
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
err = xClient.Call(ctx, "FindBySourceSkuIdsAfsInfos", sourceSkuIds, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|