From 36ebe651620a89fd158038defc344a01fa3a3e70 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 25 Mar 2021 16:47:02 +0800
Subject: [PATCH] 20210325  跟随者的历史订单显示爆仓,爆仓算入跟随者收益

---
 src/main/java/com/xcong/excoin/common/response/Result.java |   16 ++++++++++++++++
 1 files changed, 16 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 cacedd1..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;
@@ -70,4 +72,18 @@
         result.msg = msg;
         return result;
     }
+
+    public static Result timeOut(String msg) {
+        Result result = new Result();
+        result.code = -3;
+        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