06b0647fc4576ffdbcb00295fcae7ceab49ec4d4
按前端对接文档,stock_order_items 每辆车支持附件 [{url,original_name}]:
- 模型 StockOrderItems:fillable 增加 attachment,新增 $casts=['attachment'=>'array']
(写自动 json_encode 落库、读自动 decode 回显)
- processVehicleItems:create 前归一化 attachment 为数组(store/update 共用此路径)
- generateVehicleUniqueId:排除 attachment,避免附件影响车辆去重/数量
show/detail 经模型 items 关系 + cast 自动回显 attachment;字段已由前端在库表就绪。
Co-Authored-By: Claude <noreply@anthropic.com>
webman
基于workerman开发的超高性能PHP框架
学习
LICENSE
The webman is open-sourced software licensed under the MIT.
Languages
PHP
98.9%
Python
0.9%
HTML
0.2%



