request->get(); $where = []; $where['mainId'] = $this->mainId; $customId = $get['customId'] ?? 0; if (!empty($customId)) { $custom = CustomClass::getById($customId); CustomClass::valid($custom, $this->shopId); $where['customId'] = $customId; } $list = CustomBalanceChangeClass::getChangeList($where); util::success($list); } }