From 2d6875c93b25d0b7336c7fa11e066d213259fe2e Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 25 四月 2024 10:02:01 +0800 Subject: [PATCH] 更改定时任务时区设置 --- model/request/common.go | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/model/request/common.go b/model/request/common.go index c515c4e..26ac8b1 100644 --- a/model/request/common.go +++ b/model/request/common.go @@ -5,10 +5,21 @@ PageSize int `json:"pageSize" form:"pageSize"` // 姣忛〉澶у皬 } -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,string" binding:"required"` //宸ュ簭id + ReportAmount int `json:"reportAmount" binding:"required"` //鎶ュ伐鏁伴噺 + WorkerID string `json:"workerID"` //鎶ュ憡鑰卛d +} + +type ReportWorkList struct { + PageInfo + ProcedureId uint `json:"procedureId,string" binding:"required" form:"procedureId"` //宸ュ簭id +} -- Gitblit v1.8.0