|
@@ -103,7 +103,7 @@ class TeacLogin
|
|
|
* @param $stock 剩余数
|
|
* @param $stock 剩余数
|
|
|
* @return void
|
|
* @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) {
|
|
if($typeId == ProductTeac::Sell) {
|