chore: [env] .env.example 업데이트 및 .gitignore 정리
- .env.example을 SAM 프로젝트 실제 키 구조로 업데이트 - .gitignore에 !.env.example 예외 추가 - GCS_* 중복 키 제거, Gemini/Claude/Vertex 키 섹션 추가
This commit is contained in:
@@ -1,73 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\Api\V1;
|
||||
|
||||
use App\Helpers\ApiResponse;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\Barobill\BankServiceUrlRequest;
|
||||
use App\Http\Requests\Barobill\BarobillLoginRequest;
|
||||
use App\Http\Requests\Barobill\BarobillSignupRequest;
|
||||
use App\Services\Barobill\BarobillSoapService;
|
||||
|
||||
class BarobillController extends Controller
|
||||
{
|
||||
public function __construct(
|
||||
private BarobillSoapService $barobillSoapService
|
||||
) {}
|
||||
|
||||
public function login(BarobillLoginRequest $request)
|
||||
{
|
||||
return ApiResponse::handle(
|
||||
fn () => $this->barobillSoapService->registerLogin($request->validated()),
|
||||
__('message.barobill.login_success')
|
||||
);
|
||||
}
|
||||
|
||||
public function signup(BarobillSignupRequest $request)
|
||||
{
|
||||
return ApiResponse::handle(
|
||||
fn () => $this->barobillSoapService->registerSignup($request->validated()),
|
||||
__('message.barobill.signup_success')
|
||||
);
|
||||
}
|
||||
|
||||
public function bankServiceUrl(BankServiceUrlRequest $request)
|
||||
{
|
||||
return ApiResponse::handle(
|
||||
fn () => $this->barobillSoapService->getBankServiceRedirectUrl($request->validated()),
|
||||
__('message.fetched')
|
||||
);
|
||||
}
|
||||
|
||||
public function status()
|
||||
{
|
||||
return ApiResponse::handle(
|
||||
fn () => $this->barobillSoapService->getIntegrationStatus(),
|
||||
__('message.fetched')
|
||||
);
|
||||
}
|
||||
|
||||
public function accountLinkUrl()
|
||||
{
|
||||
return ApiResponse::handle(
|
||||
fn () => $this->barobillSoapService->getAccountLinkRedirectUrl(),
|
||||
__('message.fetched')
|
||||
);
|
||||
}
|
||||
|
||||
public function cardLinkUrl()
|
||||
{
|
||||
return ApiResponse::handle(
|
||||
fn () => $this->barobillSoapService->getCardLinkRedirectUrl(),
|
||||
__('message.fetched')
|
||||
);
|
||||
}
|
||||
|
||||
public function certificateUrl()
|
||||
{
|
||||
return ApiResponse::handle(
|
||||
fn () => $this->barobillSoapService->getCertificateRedirectUrl(),
|
||||
__('message.fetched')
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user