Explorar o código

Update stock_info.php

wanggangtao %!s(int64=5) %!d(string=hai) anos
pai
achega
9eb5fd6313
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/v1.0/stock_info.php

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

@@ -16,7 +16,7 @@ try {
     $stock_info=Stock::getInfoByCode($code);
     if(empty($stock_info))
     {
-        echo action_msg(API::EMPTY_STOCK, API::EMPTY_STOCK_MSG);
+        echo action_msg(API::EMPTY_STOCK_MSG, API::EMPTY_STOCK);
         return;
     }
     else