mirror of
https://gitee.com/zhijiantianya/yudao-cloud.git
synced 2026-05-16 20:27:54 +00:00
后端:增加 Banner 增删改查接口
This commit is contained in:
@@ -40,4 +40,12 @@ public enum CommonStatusEnum {
|
||||
return this;
|
||||
}
|
||||
|
||||
public static boolean isValid(Integer status) {
|
||||
if (status == null) {
|
||||
return false;
|
||||
}
|
||||
return ENABLE.value.equals(status)
|
||||
|| DISABLE.value.equals(status);
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user