web.php 17 KB

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