This commit is contained in:
邹宗楠
2022-10-11 11:23:13 +08:00
parent 7c070301f7
commit 33b774bfaf
3 changed files with 8 additions and 1 deletions

View File

@@ -47,5 +47,6 @@ func TestGetVendorCategories(t *testing.T) {
t.Log(utils.Format4Output(err, false))
}
}
t.Log(utils.Format4Output(result, false))
}

View File

@@ -145,7 +145,7 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
} else {
if freightTemplateID == 0 {
globals.SugarLogger.Debug("freightTemplateID=========", freightTemplateID)
errList.AddErr(fmt.Errorf(" ", int64(storeDetail.Store.ID), freightTemplateID, err))
errList.AddErr(fmt.Errorf("门店:%d 绑定运费模板:%d 失败原因:%v", int64(storeDetail.Store.ID), freightTemplateID, err))
}
err = P.ShopBindStoreFreight(int64(storeDetail.Store.ID), freightTemplateID)
if err != nil {