afa 6 сар өмнө
parent
commit
0a87c774ac

+ 1 - 1
application/api/logic/TeacLogin.php

@@ -103,7 +103,7 @@ class TeacLogin
        * @param $stock  剩余数
        * @return void
        */
-      public static function setUserReturnOrder(int $uid, int $typeId,  int $stock)
+      public static function setUserReturnOrder(int $uid, int $typeId,  float $stock)
       {
 
             if($typeId == ProductTeac::Sell) {