Skip to content

Commit 160ab8d

Browse files
KAICharles7c
authored andcommitted
fix(system/notice): 修复通知公告分页 通知范围字段类型回显错误
1 parent fdd0617 commit 160ab8d

File tree

1 file changed

+2
-1
lines changed
  • continew-module-system/src/main/java/top/continew/admin/system/model/resp

1 file changed

+2
-1
lines changed

continew-module-system/src/main/java/top/continew/admin/system/model/resp/NoticeResp.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
import io.swagger.v3.oas.annotations.media.Schema;
2020
import lombok.Data;
21+
import top.continew.admin.system.enums.NoticeScopeEnum;
2122
import top.continew.admin.system.enums.NoticeStatusEnum;
2223
import top.continew.starter.extension.crud.model.resp.BaseResp;
2324

@@ -76,7 +77,7 @@ public NoticeStatusEnum getStatus() {
7677
* 通知范围
7778
*/
7879
@Schema(description = "通知范围(1.所有人 2.指定用户)", example = "1")
79-
private Integer noticeScope;
80+
private NoticeScopeEnum noticeScope;
8081

8182
/**
8283
* 指定用户

0 commit comments

Comments
 (0)