|
|
@ -52,6 +52,47 @@ func (a *afs) Lists(ctx context.Context, args ArgsAfsLists) (reply ReplyAfsLists
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ReplyAfsDetail 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"`
|
|
|
|
|
|
|
|
Price decimal.Decimal `json:"price"`
|
|
|
|
|
|
|
|
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"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type AfsPackageSend struct {
|
|
|
|
|
|
|
|
Name string `json:"name"`
|
|
|
|
|
|
|
|
Mobile string `json:"mobile"`
|
|
|
|
|
|
|
|
LogisticsCompany string `json:"logisticsCompany"`
|
|
|
|
|
|
|
|
WaybillCode string `json:"waybillCode"`
|
|
|
|
|
|
|
|
SendGoodsDate int64 `json:"sendGoodsDate"`
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Detail @Title 售后详情
|
|
|
|
|
|
|
|
func (a *afs) Detail(ctx context.Context, afsSn uint64) (reply ReplyAfsDetail, err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "Detail", afsSn, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type ArgsAfsReject struct {
|
|
|
|
type ArgsAfsReject struct {
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
AfsSn string `json:"afsSn"`
|
|
|
|
Notes string `json:"notes"`
|
|
|
|
Notes string `json:"notes"`
|
|
|
|