|
@@ -5,6 +5,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
|
|
|
import java.io.IOException;
|
|
|
import java.util.HashMap;
|
|
|
+import java.util.LinkedHashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
@@ -54,7 +55,7 @@ public class SysMessageController extends BaseController {
|
|
|
@ApiOperation("获取消息分类类型")
|
|
|
@GetMapping(value = "typeList")
|
|
|
public Object typeList(){
|
|
|
- HashMap<Object, Object> map = new HashMap<>(4);
|
|
|
+ HashMap<Object, Object> map = new LinkedHashMap<>(4);
|
|
|
map.put("ALL","全部");
|
|
|
map.put("ATTENDANCE","考勤信息");
|
|
|
map.put("COURSE","课程信息");
|