|
@@ -4,6 +4,7 @@ import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -53,7 +54,12 @@ public class SysMessageController extends BaseController {
|
|
|
@ApiOperation("获取消息分类类型")
|
|
|
@GetMapping(value = "typeList")
|
|
|
public Object typeList(){
|
|
|
- return succeed(sysMessageService.queryTypeList());
|
|
|
+ HashMap<Object, Object> map = new HashMap<>(4);
|
|
|
+ map.put("ALL","全部");
|
|
|
+ map.put("ATTENDANCE","考勤信息");
|
|
|
+ map.put("COURSE","课程信息");
|
|
|
+ map.put("WORK","作业信息");
|
|
|
+ return succeed(map);
|
|
|
}
|
|
|
|
|
|
@ApiOperation("一键已读")
|