|
|
@@ -49,7 +49,7 @@ import java.util.Map;
|
|
49
|
49
|
* 互动交流-领导信箱表控制器
|
|
50
|
50
|
*
|
|
51
|
51
|
* @author hjc
|
|
52
|
|
- * @date 2024/05/23 09:26
|
|
|
52
|
+ * @date 2024/05/23 09:26
|
|
53
|
53
|
*/
|
|
54
|
54
|
@Api(tags = "互动交流-领导信箱表控制器")
|
|
55
|
55
|
@ApiSupport(author = "UNIS_TEAM", order = 1)
|
|
|
@@ -64,7 +64,7 @@ public class IcLeaderMailboxController {
|
|
64
|
64
|
* 获取互动交流-领导信箱表分页
|
|
65
|
65
|
*
|
|
66
|
66
|
* @author hjc
|
|
67
|
|
- * @date 2024/05/23 09:26
|
|
|
67
|
+ * @date 2024/05/23 09:26
|
|
68
|
68
|
*/
|
|
69
|
69
|
@ApiOperationSupport(order = 1)
|
|
70
|
70
|
@ApiOperation("获取互动交流-领导信箱表分页")
|
|
|
@@ -78,7 +78,7 @@ public class IcLeaderMailboxController {
|
|
78
|
78
|
* 网站-添加领导信箱
|
|
79
|
79
|
*
|
|
80
|
80
|
* @author hjc
|
|
81
|
|
- * @date 2024/05/23 09:26
|
|
|
81
|
+ * @date 2024/05/23 09:26
|
|
82
|
82
|
*/
|
|
83
|
83
|
@ApiOperationSupport(order = 2)
|
|
84
|
84
|
@ApiOperation("网站-添加领导信箱")
|
|
|
@@ -94,7 +94,7 @@ public class IcLeaderMailboxController {
|
|
94
|
94
|
* 回复互动交流-领导信箱表
|
|
95
|
95
|
*
|
|
96
|
96
|
* @author hjc
|
|
97
|
|
- * @date 2024/05/23 09:26
|
|
|
97
|
+ * @date 2024/05/23 09:26
|
|
98
|
98
|
*/
|
|
99
|
99
|
@ApiOperationSupport(order = 3)
|
|
100
|
100
|
@ApiOperation("回复互动交流-领导信箱表")
|
|
|
@@ -106,11 +106,11 @@ public class IcLeaderMailboxController {
|
|
106
|
106
|
return CommonResult.ok();
|
|
107
|
107
|
}
|
|
108
|
108
|
|
|
109
|
|
- /* *//**
|
|
|
109
|
+ /* *//**
|
|
110
|
110
|
* 删除互动交流-领导信箱表
|
|
111
|
111
|
*
|
|
112
|
112
|
* @author hjc
|
|
113
|
|
- * @date 2024/05/23 09:26
|
|
|
113
|
+ * @date 2024/05/23 09:26
|
|
114
|
114
|
*//*
|
|
115
|
115
|
@ApiOperationSupport(order = 4)
|
|
116
|
116
|
@ApiOperation("删除互动交流-领导信箱表")
|
|
|
@@ -127,7 +127,7 @@ public class IcLeaderMailboxController {
|
|
127
|
127
|
* 获取互动交流-领导信箱表详情
|
|
128
|
128
|
*
|
|
129
|
129
|
* @author hjc
|
|
130
|
|
- * @date 2024/05/23 09:26
|
|
|
130
|
+ * @date 2024/05/23 09:26
|
|
131
|
131
|
*/
|
|
132
|
132
|
@ApiOperationSupport(order = 5)
|
|
133
|
133
|
@ApiOperation("获取互动交流-领导信箱表详情")
|
|
|
@@ -142,7 +142,7 @@ public class IcLeaderMailboxController {
|
|
142
|
142
|
* 网站-一页展示5条数据
|
|
143
|
143
|
*
|
|
144
|
144
|
* @author hjc
|
|
145
|
|
- * @date 2024/05/23 09:26
|
|
|
145
|
+ * @date 2024/05/23 09:26
|
|
146
|
146
|
*/
|
|
147
|
147
|
@ApiOperationSupport(order = 5)
|
|
148
|
148
|
@ApiOperation("网站-一页展示5条数据+更多详情页")
|
|
|
@@ -158,9 +158,9 @@ public class IcLeaderMailboxController {
|
|
158
|
158
|
*
|
|
159
|
159
|
* @param request
|
|
160
|
160
|
**/
|
|
161
|
|
- @GetMapping(value="/interactiveCommunication/icLeaderMailbox/getCode")
|
|
162
|
|
- @ApiOperation(value="生成验证码图片", notes = "生成验证码图片")
|
|
163
|
|
- public Map<String, Object> getCode(HttpServletRequest request, Integer fontSize, Integer width, Integer heigth) {
|
|
|
161
|
+ @GetMapping(value = "/interactiveCommunication/icLeaderMailbox/getCode")
|
|
|
162
|
+ @ApiOperation(value = "生成验证码图片", notes = "生成验证码图片")
|
|
|
163
|
+ public CommonResult<Map<String, Object>> getCode(HttpServletRequest request, Integer fontSize, Integer width, Integer heigth) {
|
|
164
|
164
|
|
|
165
|
165
|
// 图片流
|
|
166
|
166
|
BufferedImage image;
|
|
|
@@ -182,8 +182,8 @@ public class IcLeaderMailboxController {
|
|
182
|
182
|
String imgBase64 = new Base64().encodeToString(baos.toByteArray());
|
|
183
|
183
|
Map<String, Object> map = new HashMap<String, Object>();
|
|
184
|
184
|
map.put("file", imgBase64);
|
|
185
|
|
- map.put("code",yzm_code);
|
|
186
|
|
- return map;
|
|
|
185
|
+ map.put("code", yzm_code);
|
|
|
186
|
+ return CommonResult.data(map);
|
|
187
|
187
|
}
|
|
188
|
188
|
|
|
189
|
189
|
}
|