add error log

This commit is contained in:
pakintada@gmail.com 2024-03-19 12:08:24 +07:00
parent 58746ebdfb
commit 72187f348b
2 changed files with 6 additions and 3 deletions

View file

@ -788,7 +788,10 @@ func (rr *RecipeRouter) getImageOfProductCode(w http.ResponseWriter, r *http.Req
clean1 := strings.Replace(recipe.UriData, "\u003d", "=", -1)
uriName := strings.Split(clean1, "=")[1]
img_dir := "taobin_project/image/page_drink_picture2_n/"
// img_dir := "taobin_project/image/page_drink_picture2_n/"
// new img dir
img_dir := "cofffeemachineConfig/" + countryID + "/.img/"
fullPath := img_dir + uriName
rr.taoLogger.Log.Debug("RecipeRouter.getImageOfProductCode", zap.Any("fullPath", fullPath))