|
|
@ -141,3 +141,20 @@ func (a *afterService) Detail(ctx context.Context, afsSn string) (reply ReplyAft
|
|
|
|
err = xClient.Call(ctx, "Detail", afsSn, &reply)
|
|
|
|
err = xClient.Call(ctx, "Detail", afsSn, &reply)
|
|
|
|
return
|
|
|
|
return
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
type ReplyAfterServiceLogisticsAddress struct {
|
|
|
|
|
|
|
|
Name string `json:"name"` // 姓名
|
|
|
|
|
|
|
|
Mobile string `json:"mobile"` // 手机号
|
|
|
|
|
|
|
|
ZipCode string `json:"zipCode"` // 邮编
|
|
|
|
|
|
|
|
Address string `json:"address"` // 地址
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// LogisticsAddress @Title 售后详情
|
|
|
|
|
|
|
|
func (a *afterService) LogisticsAddress(ctx context.Context, afsSn string) (reply ReplyAfterServiceLogisticsAddress, err error) {
|
|
|
|
|
|
|
|
xClient, err := client.GetClient(a)
|
|
|
|
|
|
|
|
if err != nil {
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
err = xClient.Call(ctx, "LogisticsAddress", afsSn, &reply)
|
|
|
|
|
|
|
|
return
|
|
|
|
|
|
|
|
}
|
|
|
|