1
This commit is contained in:
@@ -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{
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user