dabory.php 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?php
  2. use App\Helpers\Utils;
  3. use App\Http\Controllers\Auth\FindUserPwVerifyController;
  4. use App\Http\Controllers\Auth\FindUserPwVerifyinputController;
  5. use App\Http\Controllers\Auth\PasswordChangeController;
  6. use App\Http\Controllers\Auth\SignupController;
  7. use App\Http\Controllers\Auth\UserSignupVerifyController;
  8. use App\Http\Controllers\Dbrbbs\PostController;
  9. use App\Services\Elasticsearch\Erp\BuyerService;
  10. use Illuminate\Support\Facades\Route;
  11. Route::middleware(['check.gate.token', 'app.token.manager'])->group(function () {
  12. // dd(substr(md5('baeksan-optical'), 0, 16));
  13. // dd(session('user'));
  14. Route::middleware('check.login')->group(function () {
  15. Route::get('/dabory/erp/induspex/optical-pos/eyetest-sale/eyetest', Utils::makeFrontRoute('/dabory/erp/induspex/optical-pos/eyetest-sale/eyetest'));
  16. // Route::get('/dabory/erp/induspex/optical-pos/simple-sale/sorder-sales', Utils::makeFrontRoute('/dabory/erp/induspex/optical-pos/simple-sale/sorder-sales'));
  17. // Route::get('/dabory/erp/induspex/optical-pos/eyetest-details', Utils::makeFrontRoute('/dabory/erp/induspex/optical-pos/eyetest-details'));
  18. // Route::get('/dabory/erp/coupon-credit/summary', Utils::makeFrontRoute('/dabory/erp/coupon-credit/summary'));
  19. Route::get('/dabory/erp/coupon-credit/reward', Utils::makeFrontRoute('/dabory/erp/coupon-credit/reward'));
  20. Route::get('/dabory/erp/basic-settings/etc', Utils::makeFrontRoute('/dabory/erp/basic-settings/etc'));
  21. Route::get('/dabory/erp/coupon-credit/credit', Utils::makeFrontRoute('/dabory/erp/coupon-credit/credit'));
  22. Route::get('/dabory/erp/coupon-credit/customer_tie', Utils::makeFrontRoute('/dabory/erp/coupon-credit/customer_tie'));
  23. // Route::get('/dabory/erp/mms/mms', Utils::makeFrontRoute('/dabory/erp/mms/mms'));
  24. Route::get('/dabory/erp/master-data/item', Utils::makeFrontRoute('/dabory/erp/master-data/item'));
  25. Route::get('/dabory/erp/master-data/item-tabbed', Utils::makeFrontRoute('/dabory/erp/master-data/item-tabbed'));
  26. Route::get('/dabory/erp/master-data/post-tabbed', Utils::makeFrontRoute('/dabory/erp/master-data/post-tabbed'));
  27. Route::get('/dabory/erp/master-data/prompt-tabbed', Utils::makeFrontRoute('/dabory/erp/master-data/prompt-tabbed'));
  28. Route::get('/dabory/erp/master-data/company-tabbed', Utils::makeFrontRoute('/dabory/erp/master-data/company-tabbed'));
  29. // Route::get('/dabory/erp/master-data/item-list', Utils::makeFrontRoute('/dabory/erp/master-data/item-list'));
  30. Route::get('/dabory/erp/balance/list-form-balance', Utils::makeFrontRoute('/dabory/erp/balance/list-form-balance'));
  31. Route::get('/dabory/erp/stock/genio', Utils::makeFrontRoute('/dabory/erp/stock/genio'));
  32. Route::get('/dabory/erp/master-data/company', Utils::makeFrontRoute('/dabory/erp/master-data/company'));
  33. Route::get('/dabory/erp/purchase/pquote', Utils::makeFrontRoute('/dabory/erp/purchase/pquote'));
  34. Route::get('/dabory/erp/purchase/porder', Utils::makeFrontRoute('/dabory/erp/purchase/porder'));
  35. Route::get('/dabory/erp/purchase/purch', Utils::makeFrontRoute('/dabory/erp/purchase/purch'));
  36. Route::get('/dabory/erp/revenue/sorder', Utils::makeFrontRoute('/dabory/erp/revenue/sorder'));
  37. Route::get('/dabory/erp/revenue/sales', Utils::makeFrontRoute('/dabory/erp/revenue/sales'));
  38. // Route::get('/dabory/erp/purchase/summary', Utils::makeFrontRoute('/dabory/erp/purchase/summary'));
  39. Route::get('/dabory/erp/accounting/acc-slip', Utils::makeFrontRoute('/dabory/erp/accounting/acc-slip'));
  40. // Route::get('/dabory/erp/sales/sales', Utils::makeFrontRoute('/dabory/erp/sales/sales'));
  41. // Route::get('/dabory/erp/statistic/combined', Utils::makeFrontRoute('/dabory/erp/statistic/combined'));
  42. Route::get('/dabory/erp/basic-settings/cgroup', Utils::makeFrontRoute('/dabory/erp/basic-settings/cgroup'));
  43. Route::get('/dabory/erp/basic-settings/igroup', Utils::makeFrontRoute('/dabory/erp/basic-settings/igroup'));
  44. Route::get('/dabory/erp/basic-settings/sgroup', Utils::makeFrontRoute('/dabory/erp/basic-settings/sgroup'));
  45. Route::get('/dabory/erp/basic-settings/storage', Utils::makeFrontRoute('/dabory/erp/basic-settings/storage'));
  46. Route::get('/dabory/erp/basic-settings/branch', Utils::makeFrontRoute('/dabory/erp/basic-settings/branch'));
  47. Route::get('/dabory/erp/basic-settings/my-users', Utils::makeFrontRoute('/dabory/erp/basic-settings/my-users'));
  48. Route::get('/dabory/erp/basic-settings/item-optpro', Utils::makeFrontRoute('/dabory/erp/basic-settings/item-optpro'));
  49. Route::get('/dabory/erp/list-type/list-media1', Utils::makeFrontRoute('/dabory/erp/list-type/list-media1'));
  50. Route::get('/dabory/erp/etc/media', Utils::makeFrontRoute('/dabory/erp/etc/media'));
  51. Route::get('/dabory/erp/list-type/test3', Utils::makeFrontRoute('/dabory/erp/list-type/test3'));
  52. Route::get('/dabory/erp/basic-settings/monitoring', Utils::makeFrontRoute('/dabory/erp/basic-settings/monitoring'));
  53. Route::get('/dabory/erp/list-type/type1', Utils::makeFrontRoute('/dabory/erp/list-type/type1'));
  54. Route::get('/dabory/erp/list-type/genesis-type1', Utils::makeFrontRoute('/dabory/erp/list-type/genesis-type1'));
  55. Route::get('/dabory/erp/list-type/setup-type1', Utils::makeFrontRoute('/dabory/erp/list-type/setup-type1'));
  56. Route::get('/dabory/erp/list-type/struct-type1', Utils::makeFrontRoute('/dabory/erp/list-type/struct-type1'));
  57. Route::get('/dabory/erp/list-type/cal-type1', Utils::makeFrontRoute('/dabory/erp/list-type/cal-type1'));
  58. Route::get('/dabory/erp/list-type/search-type1', Utils::makeFrontRoute('/dabory/erp/list-type/search-type1'));
  59. Route::get('/dabory/erp/perm/user-perm', Utils::makeFrontRoute('/dabory/erp/perm/user-perm'));
  60. Route::get('/dabory/erp/perm/member-perm', Utils::makeFrontRoute('/dabory/erp/perm/member-perm'));
  61. Route::get('/dabory/erp/perm/app-api-perm', Utils::makeFrontRoute('/dabory/erp/perm/app-api-perm'));
  62. Route::get('/dabory/erp/shop/item-taxo', Utils::makeFrontRoute('/dabory/erp/shop/item-taxo'));
  63. Route::get('/dabory/erp/shop/widget-taxo', Utils::makeFrontRoute('/dabory/erp/shop/widget-taxo'));
  64. Route::get('/dabory/erp/sales/squote', Utils::makeFrontRoute('/dabory/erp/sales/squote'));
  65. Route::get('/dabory/erp/crm/project', Utils::makeFrontRoute('/dabory/erp/crm/project'));
  66. Route::get('/dabory/erp/pro/post-lang', Utils::makeFrontRoute('/dabory/erp/pro/post-lang'));
  67. Route::get('/dabory/erp/kibana/sales/sales-aggregate', Utils::makeFrontRoute('/dabory/erp/kibana/sales/sales-aggregate'));
  68. Route::get('/dabory/erp/vat/svat', Utils::makeFrontRoute('/dabory/erp/vat/svat'));
  69. Route::get('/dabory/erp/vat/pvat', function (BuyerService $buyerService) {
  70. // $a = $buyerService->getQueryAll();
  71. // dd($a);
  72. return view('front.dabory.erp.vat.pvat');
  73. });
  74. });
  75. Route::get('/user-signup', [SignupController::class, 'index'])->name('user-signup.index');
  76. Route::post('/user-signup', [SignupController::class, 'store'])->name('user-signup.store');
  77. Route::get('/user-confirm', [SignupController::class, 'confirm'])->name('user-confirm');
  78. Route::get('/user-signup-verify', [UserSignupVerifyController::class, 'index'])->name('user-signup-verify.index');
  79. Route::post('/user-signup-verify', [UserSignupVerifyController::class, 'store'])->name('user-signup-verify.store');
  80. Route::post('/user-signup-verify-send', [UserSignupVerifyController::class, 'sendCert'])->name('user-signup-verify.send');
  81. Route::get('/find-user-pw-verify', [FindUserPwVerifyController::class, 'index'])->name('find-user-pw-verify.index');
  82. Route::post('/find-user-pw-verify', [FindUserPwVerifyController::class, 'store'])->name('find-user-pw-verify.store');
  83. Route::get('/find-user-pw-verifyinput', [FindUserPwVerifyinputController::class, 'emailVerifyinput'])->name('find-user-pw-verifyinput');
  84. Route::get('/user-password-change', [PasswordChangeController::class, 'index'])->name('user-password-change.index');
  85. Route::post('/user-password-change', [PasswordChangeController::class, 'store'])->name('user-password-change.store');
  86. Route::get('/find-user-pw-memcheck', function () {
  87. return view('auth.find-user-pw-memcheck');
  88. })->name('find-user-pw-memcheck.index');
  89. Route::get('/user-verify-ok', function () {
  90. return view('auth.user-verify-ok');
  91. })->name('user-verify-ok');
  92. Route::get('/user-activate-failed', function () {
  93. return view('auth.user-activate-failed');
  94. })->name('user-activate-failed');
  95. Route::get('/user-go-email', function () {
  96. return view('auth.user-go-email');
  97. })->name('user-go-email');
  98. Route::get('/bbs/list/{postCode}', [PostController::class, 'list'])->name('dbrbbs.list');
  99. Route::get('/bbs/details/{postCode}/{slug}', [PostController::class, 'details'])->name('dbrbbs.details');
  100. Route::middleware('check.pro.member')->group(function () {
  101. Route::post('/bbs/comment', [PostController::class, 'comment'])->name('dbrbbs.comment.store');
  102. });
  103. Route::get('/test1', function () {
  104. $formB = new App\Models\Parameter\FormB(request('bpa'), '/popup-setup/form-b/shipping-charge');
  105. return view('front.dabory.erp.popup-setup.form-b.shipping-charge-form', $formB->getData());
  106. })->name('test');
  107. });