This commit is contained in:
邹宗楠
2023-05-19 13:53:03 +08:00
parent 99a1c0b58c
commit a86873d5e2
2 changed files with 1 additions and 1 deletions

View File

@@ -83,7 +83,6 @@ func shopStatus2JX(status int) (jxStatus int) {
func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorStoreID string) (storeDetail *dao.StoreDetail2, err error) {
shopInfo, err := api.FnAPI.GetStore(vendorStoreID)
globals.SugarLogger.Debugf("============fn %s,%v", utils.Format4Output(shopInfo, false), err)
if err == nil {
storeDetail = &dao.StoreDetail2{
Store: model.Store{

View File

@@ -69,6 +69,7 @@ func (c *DeliveryHandler) CancelWaybill(bill *model.Waybill, cancelReasonID int,
}
parameter.PartnerOrderCode = bill.VendorOrderID
if err = api.FnAPI.CancelOrder(parameter); err != nil {
globals.SugarLogger.Debugf("============err := %v ", err)
if strings.Contains(err.Error(), "运单暂未生成") {
err = nil
}