1
This commit is contained in:
@@ -52,11 +52,13 @@ func (p *PurchaseHandler) InvoiceApply(msg *ebaiapi.CallbackMsg) (response *ebai
|
||||
applyNo = invoice.ApplicationNo
|
||||
storeId = invoice.ShopId
|
||||
vendorStoreId = invoice.BaiduShopId
|
||||
localOrder, _ := partner.CurOrderManager.LoadOrder(orderId, model.VendorIDEBAI)
|
||||
|
||||
if invoiceData == nil {
|
||||
invoiceObj := &model.InvoiceMsg{
|
||||
ModelIDCUL: model.ModelIDCUL{},
|
||||
OrderId: orderId,
|
||||
StoreID: utils.Str2Int(invoice.ShopId),
|
||||
StoreID: localOrder.JxStoreID,
|
||||
VendorID: model.VendorIDEBAI,
|
||||
InvoiceTaskId: invoice.ApplicationNo,
|
||||
Status: invoice.Status,
|
||||
|
||||
Reference in New Issue
Block a user