Merge branch 'master' of git.oa00.com:supply-chain/service

finance
黄伟 2 years ago
commit 18e105c29a

@ -54,31 +54,31 @@ func (a *afs) Lists(ctx context.Context, args ArgsAfsLists) (reply ReplyAfsLists
}
type ReplyAfsDetail struct {
Id uint `json:"id"`
AuditId uint `json:"auditId"`
AfsSn string `json:"afsSn"`
Status uint `json:"status"`
AuditStatus uint `json:"auditStatus"`
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"`
NewOrderSn string `json:"newOrderSn"`
RefundFee decimal.Decimal `json:"refundFee"`
PackageSend uint `json:"packageSend"`
AfsPackageSend AfsPackageSend `json:"afsPackageSend"`
ReturnAddress []ReturnAddressItem `json:"returnAddress"`
Id uint `json:"id"`
AuditId uint `json:"auditId"`
AfsSn string `json:"afsSn"`
Status uint `json:"status"`
AuditStatus uint `json:"auditStatus"`
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"`
NewOrderSn string `json:"newOrderSn"`
RefundFee decimal.Decimal `json:"refundFee"`
PackageSend uint `json:"packageSend"`
AfsPackageSend AfsPackageSend `json:"afsPackageSend"`
ReturnAddress ReturnAddressItem `json:"returnAddress"`
}
type AfsPackageSend struct {

@ -117,3 +117,14 @@ func (a *afsAudit) GetAfsAuditConfig(ctx context.Context) (reply ReplyAfsAuditCo
err = xClient.Call(ctx, "GetAfsAuditConfig", args, &reply)
return
}
// Info @Title 审核详情
func (a *afsAudit) Info(ctx context.Context, afsAuditId uint) (reply ReplyAfsDetail, err error) {
xClient, err := client.GetClient(a)
if err != nil {
return
}
args := 0
err = xClient.Call(ctx, "Info", args, &reply)
return
}

Loading…
Cancel
Save