request->get(); $ptStyle = dict::getDict('ptStyle', 'hd'); $customId = $get['customId'] ?? 0; $custom = CustomClass::getById($customId, true); if (empty($custom)) { util::fail('没有找到客户'); } if ($custom->shopId != $this->shopId) { util::fail('不是你的客户'); } $where = []; $where['customId'] = $customId; $list = CustomDebtRecordClass::getChangeList($where); util::success($list); } }