mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-10-07 00:15:15 +08:00
后台返回数据统一为CommonReturnType
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package plus.bookshelf.Common.Response;
|
||||
|
||||
public enum CommonReturnTypeStatus {
|
||||
SUCCESS("success"),
|
||||
FAILED("failed");
|
||||
|
||||
private String str;
|
||||
|
||||
private CommonReturnTypeStatus(String str) {
|
||||
this.str = str;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return str;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user