1
This commit is contained in:
@@ -177,5 +177,11 @@ func isJxShop(appID string) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (c *PurchaseHandler) GetOrderAfsInfo(ctx *jxcontext.Context, vendorOrderID, afsOrderID string) (orderAfsInfo *partner.OrderAfsInfo, err error) {
|
func (c *PurchaseHandler) GetOrderAfsInfo(ctx *jxcontext.Context, vendorOrderID, afsOrderID string) (orderAfsInfo *partner.OrderAfsInfo, err error) {
|
||||||
|
orderAfsInfo = &partner.OrderAfsInfo{}
|
||||||
|
|
||||||
|
if order, err := partner.CurOrderManager.LoadOrder(vendorOrderID, model.VendorIDJX); err == nil {
|
||||||
|
orderAfsInfo.AfsTotalShopMoney = order.TotalShopMoney
|
||||||
|
}
|
||||||
|
orderAfsInfo.VendorOrderID = vendorOrderID
|
||||||
return orderAfsInfo, err
|
return orderAfsInfo, err
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user