From 8dfb8feb32bb5e4e460e23dcde42612a26fa2bcb Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期日, 27 八月 2023 01:11:28 +0800 Subject: [PATCH] fix --- model/response/common.go | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 43 insertions(+), 0 deletions(-) diff --git a/model/response/common.go b/model/response/common.go index 7461096..ff33efc 100644 --- a/model/response/common.go +++ b/model/response/common.go @@ -1,8 +1,51 @@ package response +import ( + "apsClient/model" +) + type PageResult struct { List interface{} `json:"list"` Total int64 `json:"total"` Page int `json:"page"` PageSize int `json:"pageSize"` } + +type ListResponse struct { + Code int `json:"code"` + Msg string `json:"msg"` + Data interface{} `json:"data"` + Count int64 `json:"count"` +} + +type TaskData struct { + Order *model.Order + Procedure *model.Procedures + Config +} + +type Config struct { + DeviceName string + DeviceStatus string +} + +type ProcessParamsResponse struct { + Number string + Params []ProcessParams +} + +type ProcessParams struct { + Key string + Value interface{} +} + +type ProductProgress struct { + FinishNumber int `json:"finishNumber"` + TotalNumber int `json:"totalNumber"` +} + +type TaskCountdown struct { + CountDownHour int64 //鍊掕鏃� 鏃� + CountDownMinute int64 //鍊掕鏃� 鍒� + ShowCountDown bool //鏄惁灞曠ず鍊掕鏃� +} -- Gitblit v1.8.0