feat(WarehouseProductStorege.php): 移除了商品库存更新日志记录
This commit is contained in:
parent
fc779f1e7e
commit
4a2378f15b
@ -19,12 +19,4 @@ class WarehouseProductStorege extends BaseModel
|
|||||||
protected $name = 'warehouse_product_storege';
|
protected $name = 'warehouse_product_storege';
|
||||||
protected $deleteTime = 'delete_time';
|
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));
|
|
||||||
}
|
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user