isAjax()) { $member_bank_account_model = new MemberBankAccountModel(); $condition = [ ['site_id', '=', $this->site_id], ['withdraw_type', '=', 'bank'], ['is_flexible_transfer', '=', 1] ]; $page = input('page', 1); $page_size = input('page_size', PAGE_LIST_ROWS); $start_time = input('start_time', ''); $end_time = input('end_time', ''); if ($start_time) { $condition[] = ['end_time', '>=', date_to_time($start_time)]; } if ($end_time) { $condition[] = ['start_time', '<=', date_to_time($end_time)]; } $list = $member_bank_account_model->getMemberBankAccountPageList($condition, $page, $page_size); return $list; } $this->forthMenu(); return $this->fetch('account/lists'); } public function info() { $id = input('id'); $hycmemberId = input('hycmemberId'); $trans_seq_id = input('transSeqId'); $contractId = input('contractId'); $status = input('status'); if ($hycmemberId && $trans_seq_id) { $ExternalApi = new ExternalApi($this->site_id, 0); if (!$contractId) { $res = $ExternalApi->personalContractCreate($id, $hycmemberId); } else { $res = $ExternalApi->personalContractQuery($contractId); } return $res; } return error('', ''); } }