Browse Source

bug修改

Xieshengqi 7 years ago
parent
commit
7ea6c71677
1 changed files with 13 additions and 12 deletions
  1. 13 12
      app/src/main/java/com/kuxuan/moneynote/common/Constant.java

+ 13 - 12
app/src/main/java/com/kuxuan/moneynote/common/Constant.java

@@ -10,27 +10,28 @@ public class Constant {
10 10
     public static final String REGEX_MOBILE = "[1][3,4,5,7,8][0-9]{9}$";
11 11
     //测试接口
12 12
 //    public static final String BASE_URL = "http://bill.quyaqu.com/api/";
13
+    //正式
13 14
     public static final String BASE_URL = "http://api.money.quyaqu.com/api/";
14 15
     public static final String MD5 = "b4b80c2676828f1df375684100f56d48";
15 16
 
16
-    public static class UserInfo{
17
-        public static  final String TOKEN = "token";
18
-        public static  final String MOBILE = "mobile";
17
+    public static class UserInfo {
18
+        public static final String TOKEN = "token";
19
+        public static final String MOBILE = "mobile";
19 20
         public static final String ISLOGIN = "islogin";
20 21
         public static final String PHONE = "phone";
21 22
         public static final String PWD = "pwd";
22 23
     }
23 24
 
24
-    public  static class Time{
25
+    public static class Time {
25 26
         public static final String SEND_TIME = "send_time";
26 27
     }
27 28
 
28
-    public static class Code_Request{
29
+    public static class Code_Request {
29 30
         public static final int SUCCESS_CODE = 0;
30 31
         /**
31
-         *请求码
32
+         * 请求码
32 33
          */
33
-        public  final static int REQUESTCODE = 0x11;
34
+        public final static int REQUESTCODE = 0x11;
34 35
         /**
35 36
          * 响应码
36 37
          */
@@ -40,11 +41,11 @@ public class Constant {
40 41
     /**
41 42
      * 图表数据
42 43
      */
43
-    public static class ChartInfo{
44
-        public  static final String STARTYEAR = "startYear";
45
-        public  static final String STARTMONTH = "startMonth";
46
-        public  static final String ENDYEAR = "endYear";
47
-        public  static final String ENDMONTH = "endMonth";
44
+    public static class ChartInfo {
45
+        public static final String STARTYEAR = "startYear";
46
+        public static final String STARTMONTH = "startMonth";
47
+        public static final String ENDYEAR = "endYear";
48
+        public static final String ENDMONTH = "endMonth";
48 49
     }
49 50
 
50 51
 }