feature/main20240421
郭嘉 6 months ago
parent aaefee8a72
commit 275047fb88
  1. 2
      app/common/model/Merchant.php

@ -145,7 +145,7 @@ class Merchant extends BaseModel
* @param float $money
* @return mixed
*/
public static function setIncTotal(int $merchantId, float $money)
public static function setIncTotal(int $merchantId, $money)
{
(new static)->setInc($merchantId, 'total_amount', $money);
(new static)->setInc($merchantId, 'available_amount', $money);

Loading…
Cancel
Save