作者 tangxuhui

更新

@@ -4,15 +4,15 @@ import "errors" @@ -4,15 +4,15 @@ import "errors"
4 4
5 //NoticeModule 消息模块 5 //NoticeModule 消息模块
6 type NoticeModule struct { 6 type NoticeModule struct {
7 - ModuleCode string `json:"Code"`  
8 - Name string `json:"name"` 7 + ModuleCode string `json:"moduleCode"`
  8 + ModuleName string `json:"moduleName"`
9 } 9 }
10 10
11 //NoticeModuleAction 业务环节 11 //NoticeModuleAction 业务环节
12 type NoticeModuleAction struct { 12 type NoticeModuleAction struct {
13 ModuleCode string `json:"moduleCode"` 13 ModuleCode string `json:"moduleCode"`
14 ActionCode string `json:"actionCode"` 14 ActionCode string `json:"actionCode"`
15 - Name string `json:"name"` 15 + ActionName string `json:"actionName"`
16 } 16 }
17 17
18 // 编排消息需要的变量 18 // 编排消息需要的变量
@@ -130,18 +130,18 @@ const ( @@ -130,18 +130,18 @@ const (
130 130
131 //noticeModuleList 模块列表 131 //noticeModuleList 模块列表
132 var noticeModuleList = []NoticeModule{ 132 var noticeModuleList = []NoticeModule{
133 - {ModuleCode: Module01, Name: "天联共创"}, 133 + {ModuleCode: Module01, ModuleName: "天联共创"},
134 } 134 }
135 135
136 //noticeModuleActionList 业务环节列表 136 //noticeModuleActionList 业务环节列表
137 var noticeModuleActionList = []NoticeModuleAction{ 137 var noticeModuleActionList = []NoticeModuleAction{
138 - {ModuleCode: Module00, ActionCode: Action00_01, Name: "系统消息"},  
139 - {ModuleCode: Module01, ActionCode: Action01_01, Name: "共创申请通过"},  
140 - {ModuleCode: Module01, ActionCode: Action01_02, Name: "共创申请拒绝"},  
141 - {ModuleCode: Module01, ActionCode: Action01_03, Name: "共创确认"},  
142 - {ModuleCode: Module01, ActionCode: Action01_04, Name: "分红预算消息"},  
143 - {ModuleCode: Module01, ActionCode: Action01_05, Name: "账期结算消息"},  
144 - {ModuleCode: Module01, ActionCode: Action01_06, Name: "支付消息"}, 138 + {ModuleCode: Module00, ActionCode: Action00_01, ActionName: "系统消息"},
  139 + {ModuleCode: Module01, ActionCode: Action01_01, ActionName: "共创申请通过"},
  140 + {ModuleCode: Module01, ActionCode: Action01_02, ActionName: "共创申请拒绝"},
  141 + {ModuleCode: Module01, ActionCode: Action01_03, ActionName: "共创确认"},
  142 + {ModuleCode: Module01, ActionCode: Action01_04, ActionName: "分红预算消息"},
  143 + {ModuleCode: Module01, ActionCode: Action01_05, ActionName: "账期结算消息"},
  144 + {ModuleCode: Module01, ActionCode: Action01_06, ActionName: "支付消息"},
145 } 145 }
146 146
147 //noticeSettingParamList 业务变量列表 147 //noticeSettingParamList 业务变量列表