From 8324f872ef3a4d0c978a9b1d062800c6a1701c12 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期五, 01 十二月 2023 09:58:17 +0800 Subject: [PATCH] fix --- model/request/common.go | 19 +++++++++++++++++++ 1 files changed, 19 insertions(+), 0 deletions(-) diff --git a/model/request/common.go b/model/request/common.go index 952d6c6..474e019 100644 --- a/model/request/common.go +++ b/model/request/common.go @@ -8,3 +8,22 @@ type GetById struct { ID uint `json:"id"` // 涓婚敭ID } + +type SetCurrentDevice struct { + CurrentDeviceID string `json:"currentDeviceID,omitempty"` //褰撳墠閫夊畾鐨勭敓浜ц澶� +} + +type DeviceConfig struct { + NeedSetProcessParams bool `json:"needSetProcessParams,omitempty"` //鏄惁闇�瑕佽缃伐鑹哄弬鏁� +} + +type ReportWork struct { + ProcedureId uint `json:"procedureId" binding:"required"` //宸ュ簭id + ReportAmount int `json:"reportAmount" binding:"required"` //鎶ュ伐鏁伴噺 + WorkerID string `json:"workerID" binding:"required"` //鎶ュ憡鑰卛d +} + +type ReportWorkList struct { + PageInfo + ProcedureId uint `json:"procedureId" binding:"required" form:"procedureId"` //宸ュ簭id +} -- Gitblit v1.8.0