Files
sam-api/config/services.php
김보곤 7726b81933 feat: [barobill] Fake SOAP 서비스 + 경동 단가 테이블 모델/시더
- BarobillFakeSoapService: SOAP 호출 없이 샘플 데이터 반환 (46개 메서드)
- AppServiceProvider: BAROBILL_FAKE_MODE 시 자동 바인딩 전환
- services.php: fake_mode 설정 추가
- KdPriceTable 모델 + KdPriceTableSeeder (5130 레거시 마이그레이션)
2026-03-22 22:04:14 +09:00

76 lines
2.5 KiB
PHP

<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'resend' => [
'key' => env('RESEND_KEY'),
],
'slack' => [
'notifications' => [
'bot_user_oauth_token' => env('SLACK_BOT_USER_OAUTH_TOKEN'),
'channel' => env('SLACK_BOT_USER_DEFAULT_CHANNEL'),
],
],
/*
|--------------------------------------------------------------------------
| Google Gemini AI
|--------------------------------------------------------------------------
| AI 리포트 생성을 위한 Google Gemini API 설정
*/
'gemini' => [
'api_key' => env('GEMINI_API_KEY'),
'model' => env('GEMINI_MODEL', 'gemini-2.5-flash'),
'base_url' => env('GEMINI_BASE_URL', 'https://generativelanguage.googleapis.com/v1beta'),
],
/*
|--------------------------------------------------------------------------
| Internal Server Communication
|--------------------------------------------------------------------------
| MNG ↔ API 서버간 내부 통신 설정
| exchange_secret: HMAC 서명용 공유 시크릿 (MNG와 동일해야 함)
*/
'internal' => [
'exchange_secret' => env('INTERNAL_EXCHANGE_SECRET'),
],
/*
|--------------------------------------------------------------------------
| BaroBill (바로빌 전자세금계산서/회계 연동)
|--------------------------------------------------------------------------
| MNG와 동일한 설정 구조를 사용한다.
*/
'barobill' => [
'cert_key_test' => env('BAROBILL_CERT_KEY_TEST', ''),
'cert_key_prod' => env('BAROBILL_CERT_KEY_PROD', ''),
'corp_num' => env('BAROBILL_CORP_NUM', ''),
'test_mode' => env('BAROBILL_TEST_MODE', true),
'fake_mode' => env('BAROBILL_FAKE_MODE', false),
],
];