From a2fcc4be5f133d490f20fa4d2401811d8e1307d9 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期四, 21 九月 2023 14:29:38 +0800 Subject: [PATCH] 更改字段类型,避免gorm每次重启程序时重建表 --- model/request/task.go | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/model/request/task.go b/model/request/task.go index 70478a2..37f4a66 100644 --- a/model/request/task.go +++ b/model/request/task.go @@ -13,3 +13,13 @@ type TaskList struct { PageInfo } + +type SendProcessParams struct { + ProcedureId int `json:"procedureId" binding:"required"` + Position int `json:"position"` +} + +type GetProductProgress struct { + ProcedureId int `json:"procedureId" binding:"required"` + Position int `json:"position"` +} -- Gitblit v1.8.0