From 04cea6ec858be6ddef3982dcecabf6b3205a1f8b Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 22 八月 2023 19:23:01 +0800 Subject: [PATCH] fix --- model/response/common.go | 41 +++++++++++++++++++++++++++++++++++++++++ 1 files changed, 41 insertions(+), 0 deletions(-) diff --git a/model/response/common.go b/model/response/common.go index 7461096..8a25c70 100644 --- a/model/response/common.go +++ b/model/response/common.go @@ -1,8 +1,49 @@ 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 NetConfig struct { + DeviceName string + DeviceStatus string +} + +type ProductProgress struct { + FinishNumber int +} -- Gitblit v1.8.0