web.php 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. use Themes\kbgolf\pro\app\Http\Controllers\Auth\DbrLoginController;
  4. use Themes\kbgolf\pro\app\Http\Controllers\ContactUsController;
  5. use Themes\kbgolf\pro\app\Http\Controllers\Etc\OneToOneController;
  6. use Themes\kbgolf\pro\app\Http\Controllers\IndexController;
  7. use Themes\kbgolf\pro\app\Http\Controllers\Auth\CompanySignupController;
  8. use Themes\kbgolf\pro\app\Http\Controllers\Auth\FindMemberIdController;
  9. use Themes\kbgolf\pro\app\Http\Controllers\Auth\FindMemberIdVerifyController;
  10. use Themes\kbgolf\pro\app\Http\Controllers\Auth\FindMemberPwVerifyController;
  11. use Themes\kbgolf\pro\app\Http\Controllers\Auth\FindMemberPwVerifyinputController;
  12. use Themes\kbgolf\pro\app\Http\Controllers\Auth\MemberDeviceBlockController;
  13. use Themes\kbgolf\pro\app\Http\Controllers\Auth\MemberUnlockController;
  14. use Themes\kbgolf\pro\app\Http\Controllers\Auth\MemberWithdrawalController;
  15. use Themes\kbgolf\pro\app\Http\Controllers\Auth\PasswordChangeController;
  16. use Themes\kbgolf\pro\app\Http\Controllers\Auth\LoginController;
  17. use Themes\kbgolf\pro\app\Http\Controllers\Auth\MemberSignupVerifyController;
  18. use Themes\kbgolf\pro\app\Http\Controllers\Auth\SignupController;
  19. use Themes\kbgolf\pro\app\Http\Controllers\Auth\SocialTalkController;
  20. use Themes\kbgolf\pro\app\Http\Controllers\MyPage\NoticeController;
  21. use Themes\kbgolf\pro\app\Http\Controllers\MyPage\QnaController;
  22. use Themes\kbgolf\pro\app\Http\Controllers\PrivacyController;
  23. use Themes\kbgolf\pro\app\Http\Controllers\Page\SiseController;
  24. use Themes\kbgolf\pro\app\Http\Controllers\Page\ContactUsCustomController;
  25. Route::middleware(['check.device.scale', 'check.gate.token'])->group(function () {
  26. Route::get('/intro', function () {
  27. return view('views.intro');
  28. })->name('intro');
  29. Route::get('/contact-custom-list', function () {
  30. return view('views.page.contact-custom-list');
  31. })->name('contact-custom-list');
  32. Route::get('/chat-ui-test', function () {
  33. return view('views.chat-ui');
  34. })->name('chat-ui');
  35. Route::get('/', [IndexController::class, 'index'])->name('index');
  36. Route::get('/privacy-list', [PrivacyController::class, 'index'])->name('privacy.index');
  37. Route::get('/privacy-detail/{unique}', [PrivacyController::class, 'show'])->name('privacy.show');
  38. Route::get('/post/faq', [QnaController::class, 'list'])->name('faq');
  39. Route::get('/post/1to1', [OneToOneController::class, 'list'])->name('1to1.list');
  40. Route::get('/post/1to1-details/{id}', [OneToOneController::class, 'show'])->name('1to1.show');
  41. Route::get('/post/1to1-form', function() {
  42. return view('views.etc.1to1-form');
  43. })->name('1to1.form');
  44. Route::post('/post/1to1-form', [OneToOneController::class, 'store'])->name('1to1.store');
  45. Route::get('/post/notice', [NoticeController::class, 'list'])->name('notice.list');
  46. Route::get('/post/notice-details/{id}', [NoticeController::class, 'show'])->name('notice.show');
  47. Route::get('/ai-chatbot-solutions', function() {
  48. return view('views.page.ai-chatbot-solutions');
  49. })->name('ai-chatbot-solutions.index');
  50. Route::get('/ai-matching-solutions', function() {
  51. return view('views.page.ai-matching-solutions');
  52. })->name('ai-matching-solutions.index');
  53. Route::get('/maint-matching', function() {
  54. return view('views.page.maint-matching');
  55. })->name('maint-matching.index');
  56. Route::get('/partner-showcases', function() {
  57. return view('views.page.partner-showcases');
  58. })->name('partner-showcases.index');
  59. Route::get('/partner-addnew', function() {
  60. return view('views.page.partner-addnew');
  61. })->name('partner-addnew.index');
  62. Route::get('/platform-solutions', function() {
  63. return view('views.page.platform-solutions');
  64. })->name('platform-solutions.index');
  65. Route::get('/platform-showcases', function() {
  66. return view('views.page.platform-showcases');
  67. })->name('platform-showcases.index');
  68. Route::get('/partner-mobile-kiosk', function() {
  69. return view('views.page.partner-mobile-kiosk');
  70. })->name('partner-mobile-kiosk.index');
  71. Route::get('/partner-coexistence', function() {
  72. return view('views.page.partner-coexistence');
  73. })->name('partner-coexistence.index');
  74. Route::get('/post/whats-new', function () {
  75. return view('views.post.whats-new');
  76. })->name('post.whats-new.index');
  77. Route::get('/post/functionality', function () {
  78. return view('views.post.functionality');
  79. })->name('post.functionality.index');
  80. Route::get('/feature/crm', function () {
  81. return view('views.feature.crm');
  82. })->name('feature.crm.index');
  83. Route::get('/feature/design', function () {
  84. return view('views.feature.design');
  85. })->name('feature.design.index');
  86. Route::get('/feature/basic', function () {
  87. return view('views.feature.basic');
  88. })->name('feature.basic.index');
  89. Route::get('/feature/cms', function () {
  90. return view('views.feature.cms');
  91. })->name('feature.cms.index');
  92. Route::get('/feature/erp', function () {
  93. return view('views.feature.erp');
  94. })->name('feature.erp.index');
  95. Route::get('/feature/pos', function () {
  96. return view('views.feature.pos');
  97. })->name('feature.pos.index');
  98. Route::get('/feature/extend', function () {
  99. return view('views.feature.extend');
  100. })->name('feature.extend.index');
  101. Route::get('/price/basic', function () {
  102. return view('views.price.basic');
  103. })->name('price.basic.index');
  104. Route::get('/price/quote', function () {
  105. return view('views.price.quote');
  106. })->name('price.quote.index');
  107. Route::get('/intro/ceo', function () {
  108. return view('views.intro.ceo');
  109. })->name('intro.ceo.index');
  110. Route::get('/intro/history', function () {
  111. return view('views.intro.history');
  112. })->name('intro.history.index');
  113. Route::get('/intro/development', function () {
  114. return view('views.intro.development');
  115. })->name('intro.development.index');
  116. Route::get('/intro/organization', function () {
  117. return view('views.intro.organization');
  118. })->name('intro.organization.index');
  119. Route::get('/intro/certificate', function () {
  120. return view('views.intro.certificate');
  121. })->name('intro.certificate.index');
  122. Route::get('/my-page/order-list', function () {
  123. return view('views.my-page.order-list');
  124. })->name('my-page.order.index');
  125. Route::get('/my-page/member-edit', function () {
  126. return view('views.my-page.member-edit');
  127. })->name('my-page.member-edit.index');
  128. Route::get('/my-page/event-list', function () {
  129. return view('views.my-page.event-list');
  130. })->name('my-page.event.index');
  131. Route::get('/my-page/notice-list', function () {
  132. return view('views.my-page.notice-list');
  133. })->name('my-page.notice.index');
  134. Route::get('/1to1-list', function () {
  135. return view('views.etc.1to1-list');
  136. })->name('1to1.index');
  137. Route::get('/paq', function () {
  138. return view('views.etc.paq');
  139. })->name('paq.index');
  140. Route::get('/policy-list', function () {
  141. return view('views.terms.policy-list');
  142. })->name('policy.index');
  143. Route::get('/e-finance-list', function () {
  144. return view('views.terms.e-finance-list');
  145. })->name('e-finance.index');
  146. Route::get('/refund-list', function () {
  147. return view('views.terms.refund-list');
  148. })->name('refund.index');
  149. /* 페이지보기위해 디자이너가 추가*/
  150. Route::get('/erp-solutions', function () {
  151. return view('views.erp-solutions');
  152. })->name('erp-solutions.index');
  153. Route::get('/blockchain-solutions', function () {
  154. return view('views.blockchain-solutions');
  155. })->name('blockchain-solutions.index');
  156. Route::get('/searchengine-solutions', function () {
  157. return view('views.searchengine-solutions');
  158. })->name('searchengine-solutions.index');
  159. Route::get('/maintenance-solutions', function () {
  160. return view('views.maintenance-solutions');
  161. })->name('maintenance-solutions.index');
  162. Route::get('/kkcrm-solutions', function () {
  163. return view('views.kkcrm-solutions');
  164. })->name('kkcrm-solutions.index');
  165. Route::get('/shop-solutions', function () {
  166. return view('views.shop-solutions');
  167. })->name('shop-solutions.index');
  168. Route::get('/elastic-solutions', function () {
  169. return view('views.elastic-solutions');
  170. })->name('elastic-solutions.index');
  171. Route::get('/pos-solutions', function () {
  172. return view('views.pos-solutions');
  173. })->name('pos-solutions.index');
  174. Route::get('/pos-solutions', function () {
  175. return view('views.pos-solutions');
  176. })->name('pos-solutions.index');
  177. Route::get('/sso-solutions', function () {
  178. return view('views.sso-solutions');
  179. })->name('sso-solutions.index');
  180. Route::get('/contact-us ', [ContactUsController::class, 'index'])->name('contact-us.index');
  181. Route::post('/contact-us', [ContactUsController::class, 'store'])->name('contact-us.store');
  182. Route::post('/contact-us-custom', [ContactUsCustomController::class, 'store'])->name('contact-us-custom.store');
  183. Route::get('/member-go-email', function() {
  184. return view('views.auth.member-go-email');
  185. })->name('member-go-email');
  186. Route::post('/review', [ReviewController::class, 'store'])->name('review.store');
  187. Route::get('/member-signup', [SignupController::class, 'index'])->name('member-signup.index');
  188. Route::post('/member-signup', [SignupController::class, 'store'])->name('member-signup.store');
  189. Route::get('/confirm', [SignupController::class, 'confirm'])->name('confirm');
  190. Route::get('/member-verify-ok', function() {
  191. return view('views.auth.member-verify-ok');
  192. })->name('member-verify-ok');
  193. Route::get('/member-verify-resend', function() {
  194. return view('views.auth.member-verify-resend');
  195. })->name('member-verify-resend');
  196. Route::post('/member-verify-resend', [SignupController::class, 'activateCodeResend'])->name('member-verify-resend');
  197. Route::get('/password-reset', function() {
  198. return view('views.auth.password-reset');
  199. })->name('password-reset');
  200. Route::get('/member-withdraw-cancel', function() {
  201. return view('views.auth.member-withdraw-cancel');
  202. })->name('member-withdraw-cancel');
  203. Route::get('/member-sso-login', function() {
  204. return view('views.auth.member-sso-login');
  205. })->name('member-sso-login');
  206. Route::get('/member-signup-agree', function() {
  207. return view('views.auth.member-signup-agree');
  208. })->name('member-signup-agree');
  209. Route::get('/member-company-signup', [CompanySignupController::class, 'index'])->name('member-company-signup.index');
  210. Route::post('/member-company-signup', [CompanySignupController::class, 'store'])->name('member-company-signup.store');
  211. Route::get('/member-signup-branch', function() {
  212. return view('views.auth.member-signup-branch');
  213. })->name('member-signup-branch');
  214. Route::get('/member-signup-verify', [MemberSignupVerifyController::class, 'index'])->name('member-signup-verify.index');
  215. Route::post('/member-signup-verify', [MemberSignupVerifyController::class, 'store'])->name('member-signup-verify.store');
  216. Route::post('/member-signup-verify-send', [MemberSignupVerifyController::class, 'sendCert'])->name('member-signup-verify.send');
  217. Route::get('/member-activate-failed', function() {
  218. return view('views.auth.member-activate-failed');
  219. })->name('member-activate-failed');
  220. Route::get('/password-reset-code-failed', function() {
  221. return view('views.auth.password-reset-code-failed');
  222. })->name('password-reset-code-failed');
  223. Route::get('/member-device-block-failed', function() {
  224. return view('views.auth.member-device-block-failed');
  225. })->name('member-device-block-failed');
  226. Route::get('/member-device-block-success', function() {
  227. return view('views.auth.member-device-block-success');
  228. })->name('member-device-block-success');
  229. Route::get('/member-unlock', [MemberUnlockController:: class, 'index'])->name('member-unlock.index');
  230. Route::post('/member-unlock', [MemberUnlockController:: class, 'store'])->name('member-unlock.store');
  231. Route::post('/member-unlock-send', [MemberUnlockController:: class, 'sendCert'])->name('member-unlock.send');
  232. Route::get('/member-device-block', [MemberDeviceBlockController:: class, 'store'])->name('member-device-block.store');
  233. Route::get('/find-member-id-verify', [FindMemberIdVerifyController:: class, 'index'])->name('find-member-id-verify.index');
  234. Route::post('/find-member-id-verify', [FindMemberIdVerifyController:: class, 'store'])->name('find-member-id-verify.store');
  235. Route::get('/find-member-id', [FindMemberIdController::class, 'index'])->name('find-member-id.index');
  236. Route::get('/find-member-pw-memcheck', function() {
  237. return view('views.auth.find-member-pw-memcheck');
  238. })->name('find-member-pw-memcheck.index');
  239. Route::get('/find-member-pw-verify', [FindMemberPwVerifyController::class, 'index'])->name('find-member-pw-verify.index');
  240. Route::post('/find-member-pw-verify', [FindMemberPwVerifyController::class, 'store'])->name('find-member-pw-verify.store');
  241. Route::get('/find-member-pw-verifyinput', [FindMemberPwVerifyinputController::class, 'emailVerifyinput'])->name('find-member-pw-verifyinput');
  242. Route::get('/password-change', [PasswordChangeController::class, 'index'])->name('password-change.index');
  243. Route::post('/password-change', [PasswordChangeController::class, 'store'])->name('password-change.store');
  244. Route::get('/member-login-broker', function () {
  245. session()->put('url.intended', url()->previous());
  246. return redirect()->route('member-login');
  247. });
  248. Route::group(['middleware' => 'check.pro.guest'], function () {
  249. Route::get('/member-login-dbr', [DbrLoginController::class, 'index'])->name('member-login-dbr');
  250. Route::get('/member-login', [LoginController::class, 'index'])->name('member-login');
  251. Route::post('/member-login', [LoginController::class, 'store'])->name('member-login.store');
  252. });
  253. Route::middleware('check.pro.member')->group(function () {
  254. Route::get('/member-withdrawal', [MemberWithdrawalController::class, 'index'])->name('member-withdrawal.index');
  255. Route::post('/member-withdrawal', [MemberWithdrawalController::class, 'store'])->name('member-withdrawal.store');
  256. Route::prefix('my-page')->name('my-page.')->group(function () {
  257. Route::get('/member-edit', [MemberEditController::class, 'index'])->name('member-edit.index');
  258. Route::post('/member-edit', [MemberEditController::class, 'store'])->name('member-edit.store');
  259. // Route::get('/member-edit', [MemberEditController::class, 'index'])->name('member-edit.index');
  260. Route::get('/member-edit/{id}', [MemberEditController::class, 'show'])->name('member-edit.show');
  261. Route::post('/member-edit/{id}', [MemberEditController::class, 'update'])->name('member-edit.update');
  262. });
  263. });
  264. // Route::get('/sise/{sisetype}/{area?}', [SiseController::class, 'index'])->name('sise');
  265. Route::get('/sise/{sisetype}/{area?}/{memberbershipname?}', [SiseController::class, 'index'])->name('sise');
  266. Route::get('/contactus-custom/{siseType?}/{postTitle?}', function($siseType = null, $postTitle = null) {
  267. if (is_null($postTitle) && !is_null($siseType)) {
  268. $postTitle = $siseType;
  269. $siseType = null;
  270. }
  271. return view('views.page.contactus-custom', [
  272. 'siseType' => $siseType,
  273. 'postTitle' => $postTitle,
  274. ]);
  275. })->name('contactus-custom');
  276. Route::get('/load-more-sise', [IndexController::class, 'loadMoreSise'])->name('load.more.sise');
  277. Route::get('/load-more-youtube', [IndexController::class, 'loadMoreYoutube'])->name('load.more.youtube');
  278. Route::get('/load-more-blog', [IndexController::class, 'loadMoreBlog'])->name('load.more.blog');
  279. Route::get('/contactus-custom-list/{id?}', [ContactUsCustomController::class, 'index'])->name('contactus-custom-list');
  280. Route::get('/status', function() {
  281. return view('views.page.status');
  282. })->name('status');
  283. Route::get('/status-details/{id}', [\Themes\kbgolf\pro\app\Http\Controllers\Post\StatusController::class, 'show'])->name('status-details');
  284. Route::get('/about', function() {
  285. return view('views.page.about');
  286. })->name('about');
  287. Route::get('/policy', function() {
  288. return view('views.page.policy');
  289. })->name('policy');
  290. Route::get('/map', function() {
  291. return view('views.page.map');
  292. })->name('map');
  293. // 카카오 메세지 api
  294. Route::post('/send-kakao-channel-message', [SocialTalkController::class, 'sendMessage'])->name('send-kakao-channel-message');
  295. });
  296. Route::get('/member-logout', function() {
  297. session()->forget('member');
  298. session()->forget('GateToken');
  299. session()->forget('locale');
  300. return redirect()->to('/');
  301. })->name('member-logout');