修复格式问题,重构嵌套层数过深的函数

This commit is contained in:
Leonard Wang
2020-05-19 23:46:07 +08:00
parent 5e2687a742
commit b09e54c205
38 changed files with 168 additions and 173 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ package request
import "gin-vue-admin/model"
//api分页条件查询及排序结构体
// api分页条件查询及排序结构体
type SearchApiParams struct {
model.SysApi
PageInfo
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"gin-vue-admin/config"
)
//配置文件结构体
// 配置文件结构体
type System struct {
Config config.Server
}
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"github.com/jinzhu/gorm"
)
//工作流属性表
// 工作流属性表
type SysWorkflow struct {
gorm.Model
WorkflowNickName string `json:"workflowNickName"` // 工作流名称
+1 -1
View File
@@ -7,7 +7,7 @@ type SysWorkFlowProcess struct {
gorm.Model
ApplicationID uint // 当前工作流所属申请的ID
CurrentNode string // 当前进度节点
HistoricalNode string //上一个进度节点
HistoricalNode string // 上一个进度节点
CurrentUser string // 当前进度操作人
HistoricalUser string // 上一个进度的操作人
State bool // 状态 是否是正在进行的状态