wanggangtao лет назад: 5
Родитель
Сommit
f1ff87a324

+ 1 - 1
api/v1.0/stock_any_day.php

@@ -102,7 +102,7 @@ try {
     }
     else
     {
-        echo action_msg(API::EMPTY_STOCK, API::EMPTY_STOCK_MSG);
+        echo action_msg(API::EMPTY_STOCK_MSG,API::EMPTY_STOCK);
     }
 }catch (MyException $e){
     $api->ApiError($e->getCode(), $e->getMessage());

+ 1 - 1
api/v1.0/stock_current_day.php

@@ -92,7 +92,7 @@ try {
         echo action_array($params);
     }
     else{
-        echo action_msg(API::EMPTY_STOCK, API::EMPTY_STOCK_MSG);
+        echo action_msg(API::EMPTY_STOCK_MSG , API::EMPTY_STOCK);
 
     }
 }catch (MyException $e){

+ 1 - 1
api/v1.0/stock_day_k.php

@@ -127,7 +127,7 @@ try {
     }
     else
     {
-        echo action_msg(API::EMPTY_STOCK, API::EMPTY_STOCK_MSG);
+        echo action_msg(API::EMPTY_STOCK_MSG,API::EMPTY_STOCK );
     }
 
 }catch (MyException $e){

+ 2 - 1
api/v1.0/stock_list.php

@@ -80,7 +80,8 @@ try {
         $params["list"]=$data;
         echo action_array($params);
     }else{
-        echo action_msg(API::EMPTY_STOCK, API::EMPTY_STOCK_MSG);
+        echo action_msg(API::EMPTY_STOCK_MSG,API::EMPTY_STOCK);
+
     }
 
 

+ 2 - 1
api/v1.0/stock_recent_days.php

@@ -134,7 +134,8 @@ try {
 
     }
     else{
-        echo action_msg(API::EMPTY_STOCK, API::EMPTY_STOCK_MSG);
+        echo action_msg(API::EMPTY_STOCK_MSG, API::EMPTY_STOCK);
+
     }
 
 }catch (MyException $e){