优化代码

This commit is contained in:
2023-09-09 11:11:11 +08:00
parent efc732fe8d
commit 6697e984bc
2 changed files with 22 additions and 8 deletions

View File

@@ -0,0 +1,19 @@
package xyz.zhouxy.plusone.commons.util;
/**
* 自定义结果
*
* @author zhouxy
*/
final class CustomResult extends UnifiedResponse {
CustomResult(Object status, String message) {
super(status, message);
}
CustomResult(Object status, String message, Object data) {
super(status, message, data);
}
private static final long serialVersionUID = -5794887914598566589L;
}