|
|
@ -58,6 +58,46 @@ func (a *afterService) RetailAfsHistory(ctx context.Context, args ArgsRetailHist
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsAfsLists struct {
|
|
|
|
|
|
|
|
Search AfsListSearch `json:"search"`
|
|
|
|
|
|
|
|
Page bean.Page `json:"page"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type AfsListSearch struct {
|
|
|
|
|
|
|
|
Status uint `json:"status"`
|
|
|
|
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
|
|
|
|
OrderSubSn string `json:"orderSubSn"`
|
|
|
|
|
|
|
|
CreatedStartDate string `json:"createdStartAt"`
|
|
|
|
|
|
|
|
CreatedEndDate string `json:"createdEndAt"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ReplyAfsLists struct {
|
|
|
|
|
|
|
|
Lists []AfsItem `json:"lists"`
|
|
|
|
|
|
|
|
Total int64 `json:"total"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type AfsItem struct {
|
|
|
|
|
|
|
|
Id uint `json:"id"`
|
|
|
|
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
|
|
|
|
OrderSubSn string `json:"orderSubSn"`
|
|
|
|
|
|
|
|
SkuName string `json:"skuName"`
|
|
|
|
|
|
|
|
Quantity uint `json:"quantity"`
|
|
|
|
|
|
|
|
Status uint `json:"status"`
|
|
|
|
|
|
|
|
Result string `json:"result"`
|
|
|
|
|
|
|
|
CreatedAt int64 `json:"createdAt"`
|
|
|
|
|
|
|
|
UpdatedAt int64 `json:"updatedAt"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Lists @Title 售后列表
|
|
|
|
|
|
|
|
func (a *afterService) Lists(ctx context.Context, args ArgsAfsLists) (reply []ReplyAfsLists, err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return nil, err
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "Lists", args, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsAfterServiceDeliver struct {
|
|
|
|
type ArgsAfterServiceDeliver struct {
|
|
|
|
SourceAfsSn string `json:"sourceAfsSn"`
|
|
|
|
SourceAfsSn string `json:"sourceAfsSn"`
|
|
|
|
SourceSkuId string `json:"sourceSkuId"`
|
|
|
|
SourceSkuId string `json:"sourceSkuId"`
|
|
|
|