From b8f1086e61f843a43e7b41e670a6d4d28b9fcbc2 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 27 May 2021 18:42:44 +0800
Subject: [PATCH] 20210527 最多三个待付款
---
src/main/java/com/xcong/excoin/common/response/Result.java | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/xcong/excoin/common/response/Result.java b/src/main/java/com/xcong/excoin/common/response/Result.java
index 00064a5..8af9687 100644
--- a/src/main/java/com/xcong/excoin/common/response/Result.java
+++ b/src/main/java/com/xcong/excoin/common/response/Result.java
@@ -24,6 +24,8 @@
private static final int FAIL = -1;
private static final int LOGIN_FAIL = -2;
+
+ private static final int LOADING = -4;
@ApiModelProperty(value = "状态码", example = "0")
private int code;
@@ -77,4 +79,11 @@
result.msg = msg;
return result;
}
+
+ public static Result loading(String msg) {
+ Result result = new Result();
+ result.code = LOADING;
+ result.msg = msg;
+ return result;
+ }
}
--
Gitblit v1.9.1