web.php 17 KB

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