1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-10-07 00:15:15 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

后台返回数据统一为CommonReturnType

This commit is contained in:
2022-03-15 13:48:58 +08:00
parent ae26ecc372
commit cbfc277c9c
7 changed files with 62 additions and 13 deletions

View File

@@ -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;
}
}