|
|
@ -145,7 +145,7 @@ class Merchant extends BaseModel |
|
|
|
* @param float $money |
|
|
|
* @param float $money |
|
|
|
* @return mixed |
|
|
|
* @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, 'total_amount', $money); |
|
|
|
(new static)->setInc($merchantId, 'available_amount', $money); |
|
|
|
(new static)->setInc($merchantId, 'available_amount', $money); |
|
|
|