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

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

@ -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