Merge branch 'dev' of http://gitlab.fjmaimaimai.com/mmm-go/oppmg into dev
正在显示
1 个修改的文件
包含
11 行增加
和
11 行删除
| @@ -81,7 +81,7 @@ func (input ValidateInputRedio) ValidateConfig() error { | @@ -81,7 +81,7 @@ func (input ValidateInputRedio) ValidateConfig() error { | ||
| 81 | type TemplateAddRequest struct { | 81 | type TemplateAddRequest struct { |
| 82 | Template Template `json:"template"` | 82 | Template Template `json:"template"` |
| 83 | Example string `json:"example"` //示例 | 83 | Example string `json:"example"` //示例 |
| 84 | - AuditFlowConfig AuditFlowConfig `json:"audit_flow_config"` | 84 | + AuditFlowConfig AuditFlowConfig `json:"auditFlowConfig"` |
| 85 | } | 85 | } |
| 86 | type TemplateAddResponse struct { | 86 | type TemplateAddResponse struct { |
| 87 | } | 87 | } |
| @@ -97,24 +97,24 @@ type Template struct { | @@ -97,24 +97,24 @@ type Template struct { | ||
| 97 | } | 97 | } |
| 98 | 98 | ||
| 99 | type AuditFlowConfig struct { | 99 | type AuditFlowConfig struct { |
| 100 | - NoApprover int `json:"no_approver" valid:"Required;"` //审核人为空【1:自动通过】【2:转交给管理员】 | ||
| 101 | - ProcessConfig []ProcessConfig `json:"process_config"` //创建时 0 | 100 | + NoApprover int `json:"noApprover" valid:"Required;"` //审核人为空【1:自动通过】【2:转交给管理员】 |
| 101 | + ProcessConfig []ProcessConfig `json:"processConfig"` //创建时 0 | ||
| 102 | } | 102 | } |
| 103 | type ProcessConfig struct { | 103 | type ProcessConfig struct { |
| 104 | - ApproveType int `json:"approve_type"` //1.部门长 2 指定成员 3.指定角色 | ||
| 105 | - ProcessType int `json:"process_type"` //审批类型 1:正常审核 2:特殊审核 | ||
| 106 | - AcitonType int `json:"aciton_type"` //审批执行方式【1:or】【2:and】 | ||
| 107 | - GroupId int `json:"group_id"` //分组id | ||
| 108 | - FromSpecialUser []VisibleObject `json:"from_special_user"` | ||
| 109 | - ToRole []VisibleObject `json:"to_role"` | ||
| 110 | - ToUser []VisibleObject `json:"to_user"` | 104 | + ApproveType int `json:"approveType"` //1.部门长 2 指定成员 3.指定角色 |
| 105 | + ProcessType int `json:"processType"` //审批类型 1:正常审核 2:特殊审核 | ||
| 106 | + AcitonType int `json:"acitonType"` //审批执行方式【1:or】【2:and】 | ||
| 107 | + GroupId int `json:"groupId"` //分组id | ||
| 108 | + FromSpecialUser []VisibleObject `json:"fromSpecialUser"` | ||
| 109 | + ToRole []VisibleObject `json:"toRole"` | ||
| 110 | + ToUser []VisibleObject `json:"toUser"` | ||
| 111 | } | 111 | } |
| 112 | 112 | ||
| 113 | /*TemplateUpdate */ | 113 | /*TemplateUpdate */ |
| 114 | type TemplateUpdateRequest struct { | 114 | type TemplateUpdateRequest struct { |
| 115 | Template Template `json:"template"` | 115 | Template Template `json:"template"` |
| 116 | Example string `json:"example"` //示例` | 116 | Example string `json:"example"` //示例` |
| 117 | - AuditFlowConfig AuditFlowConfig `json:"audit_flow_config"` | 117 | + AuditFlowConfig AuditFlowConfig `json:"auditFlowConfig"` |
| 118 | } | 118 | } |
| 119 | type TemplateUpdateResponse struct { | 119 | type TemplateUpdateResponse struct { |
| 120 | } | 120 | } |
-
请 注册 或 登录 后发表评论