2025-12-13 23:41:08 +09:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
namespace App\Http\Controllers\Lab;
|
|
|
|
|
|
|
|
|
|
use App\Http\Controllers\Controller;
|
2026-01-21 20:52:45 +09:00
|
|
|
use Illuminate\Http\Request;
|
|
|
|
|
use Illuminate\Http\Response;
|
|
|
|
|
use Illuminate\View\View;
|
2025-12-13 23:41:08 +09:00
|
|
|
|
|
|
|
|
/**
|
2025-12-14 00:31:34 +09:00
|
|
|
* R&D Labs > S. 전략 메뉴 컨트롤러
|
2025-12-13 23:41:08 +09:00
|
|
|
* 5130 프로젝트에서 마이그레이션된 정적 전략 보고서 페이지들
|
|
|
|
|
*/
|
|
|
|
|
class StrategyController extends Controller
|
|
|
|
|
{
|
2026-01-21 20:52:45 +09:00
|
|
|
/**
|
|
|
|
|
* Presentation 레이아웃 페이지를 위한 HX-Redirect 처리
|
|
|
|
|
* (presentation 레이아웃은 #main-content가 없어서 HTMX swap 불가)
|
|
|
|
|
*/
|
|
|
|
|
private function handlePresentationPage(Request $request, string $routeName): ?Response
|
|
|
|
|
{
|
|
|
|
|
if ($request->header('HX-Request')) {
|
|
|
|
|
return response('', 200)->header('HX-Redirect', route($routeName));
|
|
|
|
|
}
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
|
2025-12-13 23:41:08 +09:00
|
|
|
/**
|
|
|
|
|
* 세무 전략 (장기적 세무전략 프레젠테이션)
|
|
|
|
|
*/
|
2026-01-27 21:49:29 +09:00
|
|
|
public function tax(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-27 21:49:29 +09:00
|
|
|
if ($request->header('HX-Request')) {
|
|
|
|
|
return response('', 200)->header('HX-Redirect', route('lab.strategy.tax'));
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.tax');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 노무 전략
|
|
|
|
|
*/
|
2026-01-27 21:49:29 +09:00
|
|
|
public function labor(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-27 21:49:29 +09:00
|
|
|
if ($request->header('HX-Request')) {
|
|
|
|
|
return response('', 200)->header('HX-Redirect', route('lab.strategy.labor'));
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.labor');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 채권추심 전략
|
|
|
|
|
*/
|
2026-01-27 21:49:29 +09:00
|
|
|
public function debt(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-27 21:49:29 +09:00
|
|
|
if ($request->header('HX-Request')) {
|
|
|
|
|
return response('', 200)->header('HX-Redirect', route('lab.strategy.debt'));
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.debt');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-21 20:52:45 +09:00
|
|
|
* 스테이블코인 보고서 (presentation layout)
|
2025-12-13 23:41:08 +09:00
|
|
|
*/
|
2026-01-21 20:52:45 +09:00
|
|
|
public function stablecoin(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-21 20:52:45 +09:00
|
|
|
if ($redirect = $this->handlePresentationPage($request, 'lab.strategy.stablecoin')) {
|
|
|
|
|
return $redirect;
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.stablecoin');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-21 20:52:45 +09:00
|
|
|
* MRP 해외사례 (presentation layout)
|
2025-12-13 23:41:08 +09:00
|
|
|
*/
|
2026-01-21 20:52:45 +09:00
|
|
|
public function mrpOverseas(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-21 20:52:45 +09:00
|
|
|
if ($redirect = $this->handlePresentationPage($request, 'lab.strategy.mrp-overseas')) {
|
|
|
|
|
return $redirect;
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.mrp-overseas');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 상담용 챗봇 전략
|
|
|
|
|
*/
|
2026-01-27 21:49:29 +09:00
|
|
|
public function chatbot(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-27 21:49:29 +09:00
|
|
|
if ($request->header('HX-Request')) {
|
|
|
|
|
return response('', 200)->header('HX-Redirect', route('lab.strategy.chatbot'));
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.chatbot');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* KoDATA vs NICE API 비교
|
|
|
|
|
*/
|
|
|
|
|
public function kodataVsNice()
|
|
|
|
|
{
|
|
|
|
|
return view('lab.strategy.kodata-vs-nice');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 바로빌 vs 팝빌 API 비교
|
|
|
|
|
*/
|
|
|
|
|
public function barobillVsPopbill()
|
|
|
|
|
{
|
|
|
|
|
return view('lab.strategy.barobill-vs-popbill');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 사내 지식 검색 시스템
|
|
|
|
|
*/
|
|
|
|
|
public function knowledgeSearch()
|
|
|
|
|
{
|
|
|
|
|
return view('lab.strategy.knowledge-search');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 챗봇 솔루션 비교 분석
|
|
|
|
|
*/
|
|
|
|
|
public function chatbotCompare()
|
|
|
|
|
{
|
|
|
|
|
return view('lab.strategy.chatbot-compare');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* RAG 스타트업 현황
|
|
|
|
|
*/
|
|
|
|
|
public function ragStartups()
|
|
|
|
|
{
|
|
|
|
|
return view('lab.strategy.rag-startups');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 더존비즈온 분석
|
|
|
|
|
*/
|
|
|
|
|
public function douzone()
|
|
|
|
|
{
|
|
|
|
|
return view('lab.strategy.douzone');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Confluence vs Notion 비교
|
|
|
|
|
*/
|
|
|
|
|
public function confluenceVsNotion()
|
|
|
|
|
{
|
|
|
|
|
return view('lab.strategy.confluence-vs-notion');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-21 20:52:45 +09:00
|
|
|
* 차세대 QA 솔루션 (presentation layout)
|
2025-12-13 23:41:08 +09:00
|
|
|
*/
|
2026-01-21 20:52:45 +09:00
|
|
|
public function qaSolution(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-21 20:52:45 +09:00
|
|
|
if ($redirect = $this->handlePresentationPage($request, 'lab.strategy.qa-solution')) {
|
|
|
|
|
return $redirect;
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.qa-solution');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
2026-01-21 21:05:20 +09:00
|
|
|
* SAM 영업전략 (슬라이드 프레젠테이션)
|
2025-12-13 23:41:08 +09:00
|
|
|
*/
|
2026-01-21 21:05:20 +09:00
|
|
|
public function salesStrategy(Request $request): View|Response
|
2025-12-13 23:41:08 +09:00
|
|
|
{
|
2026-01-21 21:05:20 +09:00
|
|
|
if ($request->header('HX-Request')) {
|
|
|
|
|
return response('', 200)->header('HX-Redirect', route('lab.strategy.sales-strategy'));
|
|
|
|
|
}
|
2025-12-13 23:41:08 +09:00
|
|
|
return view('lab.strategy.sales-strategy');
|
|
|
|
|
}
|
2025-12-18 16:08:59 +09:00
|
|
|
}
|