mirror of https://github.com/halo-dev/halo
Change menu sort to priority.
parent
07d07e2170
commit
4c2f329a39
|
@ -19,7 +19,7 @@ public class MenuDTO implements OutputConverter<MenuDTO, Menu> {
|
|||
|
||||
private String url;
|
||||
|
||||
private Integer sort;
|
||||
private Integer priority;
|
||||
|
||||
private String target;
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ public class MenuParam implements InputConverter<Menu> {
|
|||
private String url;
|
||||
|
||||
@Min(value = 0, message = "Menu priority must not be less than {value}")
|
||||
private Integer sort;
|
||||
private Integer priority;
|
||||
|
||||
@Size(max = 50, message = "Length of menu target must not be more than {max}")
|
||||
private String target;
|
||||
|
|
Loading…
Reference in New Issue