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
     public static final String REGEX_MOBILE = "[1][3,4,5,7,8][0-9]{9}$";
10
     public static final String REGEX_MOBILE = "[1][3,4,5,7,8][0-9]{9}$";
11
     //测试接口
11
     //测试接口
12
 //    public static final String BASE_URL = "http://bill.quyaqu.com/api/";
12
 //    public static final String BASE_URL = "http://bill.quyaqu.com/api/";
13
+    //正式
13
     public static final String BASE_URL = "http://api.money.quyaqu.com/api/";
14
     public static final String BASE_URL = "http://api.money.quyaqu.com/api/";
14
     public static final String MD5 = "b4b80c2676828f1df375684100f56d48";
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
         public static final String ISLOGIN = "islogin";
20
         public static final String ISLOGIN = "islogin";
20
         public static final String PHONE = "phone";
21
         public static final String PHONE = "phone";
21
         public static final String PWD = "pwd";
22
         public static final String PWD = "pwd";
22
     }
23
     }
23
 
24
 
24
-    public  static class Time{
25
+    public static class Time {
25
         public static final String SEND_TIME = "send_time";
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
         public static final int SUCCESS_CODE = 0;
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
     /**
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
 }