feat(pl): expose photoUrls on vehicle and personnel APIs

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-02 10:30:14 +08:00
1 parent 56b94e1c5b
commit 479851ba4c
3 files changed
+53

No files matched your search

+2
View File
@@ -414,6 +414,7 @@ def create_vehicle(
trailer_no=payload.trailer_no,
load_capacity=payload.load_capacity,
vehicle_status=payload.vehicle_status,
photo_urls=payload.photo_urls,
remark=payload.remark,
create_by=user.id,
create_dept_id=user.dept_id,
@@ -680,6 +681,7 @@ def create_personnel(
personnel_type=payload.personnel_type,
personnel_affiliation=payload.personnel_affiliation,
status=payload.status,
photo_urls=payload.photo_urls,
remark=payload.remark,
create_by=user.id,
create_dept_id=user.dept_id,