@ -68,7 +68,7 @@ class Category extends Controller
} else {
return $this->renderSuccess(compact('list'));
}
if (!empty($arr)) {
$arr1 = ['cataIds' => $arr];
@ -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);