add error log
This commit is contained in:
parent
58746ebdfb
commit
72187f348b
2 changed files with 6 additions and 3 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue