shish il y a 5 ans
Parent
commit
ab7107ef4b
1 fichiers modifiés avec 2 ajouts et 0 suppressions
  1. 2 0
      console/controllers/ItemController.php

+ 2 - 0
console/controllers/ItemController.php

@@ -41,6 +41,7 @@ class ItemController extends Controller
                 $py = stringUtil::py($name);
                 $product->py = $py;
                 $product->save();
+                echo $name.' '.$py."\n";
             }
         }
         $item = PtItemClass::getAllByCondition([], null, '*', null, true);
@@ -51,6 +52,7 @@ class ItemController extends Controller
                     $py = stringUtil::py($name);
                     $it->py = $py;
                     $it->save();
+                    echo $name.' '.$py."\n";
                 }
             }
         }