chenbo 5 vuotta sitten
vanhempi
commit
9be11a044c
1 muutettua tiedostoa jossa 3 lisäystä ja 7 poistoa
  1. 3 7
      api/lib/api.class.php

+ 3 - 7
api/lib/api.class.php

@@ -14,8 +14,7 @@ class API {
 
     const SUCCESS = 200;
     const SUCCESS_MSG= "success";
-
-
+    
     const STOCK = 301;
     const STOCK_MSG= "股票代码不存在/错误";
 
@@ -25,11 +24,8 @@ class API {
     const SIGN = 302;
     const SIGN_MSG= "非法签名";
 
-
-
-
-    const EMPTY = 401;
-    const EMPTY_MSG= "股票数据为空";
+    const EMPTY_STOCK = 401;
+    const EMPTY_STOCK_MSG= "股票数据为空";
 
     const SERVER = 501;
     const SERVER_MSG= "服务器错误";