|
@@ -67,6 +67,7 @@ class ItemController extends Controller
|
|
|
$ptItem->bigUnitId = $product->bigUnitId;
|
|
$ptItem->bigUnitId = $product->bigUnitId;
|
|
|
$ptItem->smallUnitId = $product->smallUnitId;
|
|
$ptItem->smallUnitId = $product->smallUnitId;
|
|
|
$ptItem->save();
|
|
$ptItem->save();
|
|
|
|
|
+ echo $product->id . " " . $product->name . " 已同步\n";
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|