fix show toppingset unmatch index

This commit is contained in:
pakintada@gmail.com 2024-01-21 15:18:33 +07:00
parent d1330e4f84
commit ecd88b2e27
6 changed files with 218 additions and 76 deletions

View file

@ -365,7 +365,7 @@ func (d *Data) SetValuesToRecipe(base_recipe []models.Recipe01, recipe models.Re
for k, v := range recipe01_Map {
if !reflect.DeepEqual(base_recipe01_Map[k], v) {
d.taoLogger.Log.Debug("SetValuesToRecipe", zap.Any("key", k))
d.taoLogger.Log.Debug("SetValuesToRecipe", zap.Any("key", k), zap.Any("old", base_recipe01_Map[k]), zap.Any("new", v))
base_recipe01_Map[k] = v
}
}