feat(WarehouseProductStorege.php): 移除了商品库存更新日志记录

This commit is contained in:
mkm 2024-08-28 20:39:02 +08:00
parent fc779f1e7e
commit 4a2378f15b

View File

@ -19,12 +19,4 @@ class WarehouseProductStorege extends BaseModel
protected $name = 'warehouse_product_storege';
protected $deleteTime = 'delete_time';
public function onBeforeUpdate($product){
$log = Log::channel('product_storege');
$log->info('更新前:'.json_encode($product));
}
public function onAfterUpdate($product){
$log = Log::channel('product_storege');
$log->info('更新后:'.json_encode($product));
}
}