- 在查询 WarehouseProduct 时,使用 withTrashed() 方法以包含软删除的数据 - 确保在减库操作中考虑到已删除的产品,避免数据不一致的问题
source 0 小程序 1 收银台 4 批发
Languages
PHP
99.9%
HTML
0.1%