chenbo hace 5 años
padre
commit
9be11a044c
Se han modificado 1 ficheros con 3 adiciones y 7 borrados
  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= "服务器错误";