2022-07-23 17:07:13 +08:00
|
|
|
<?php
|
|
|
|
|
|
2022-08-04 14:25:12 +08:00
|
|
|
use App\Http\Controllers\Goods\GoodsSkusController;
|
2022-08-04 18:20:59 +08:00
|
|
|
use App\Http\Controllers\Goods\GoodsController;
|
2022-08-06 15:25:13 +08:00
|
|
|
use App\Http\Controllers\Shop\ShopsController;
|
2022-08-04 14:25:12 +08:00
|
|
|
|
2022-07-23 17:07:13 +08:00
|
|
|
/*
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
| Web Routes
|
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
| Here is where you can register web routes for your application. These
|
|
|
|
|
| routes are loaded by the RouteServiceProvider within a group which
|
|
|
|
|
| contains the "web" middleware group. Now create something great!
|
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
Route::get('/', function () {
|
|
|
|
|
return view('welcome');
|
|
|
|
|
});
|
2022-07-27 19:06:16 +08:00
|
|
|
|
|
|
|
|
Route::get('/home', function () {
|
|
|
|
|
return view('home');
|
|
|
|
|
})->name('home');
|
|
|
|
|
|
|
|
|
|
Route::get('/login', function () {
|
|
|
|
|
return view('welcome');
|
|
|
|
|
})->name('login');
|
|
|
|
|
|
|
|
|
|
Route::get('/register', function () {
|
|
|
|
|
return view('welcome');
|
|
|
|
|
})->name('register');
|
2022-08-04 14:25:12 +08:00
|
|
|
|
2022-08-04 18:13:00 +08:00
|
|
|
Route::get('goods_skus/export', [GoodsSkusController::class, 'export'])->name('goods_skus.export')->middleware('check.permissions');
|
2022-08-04 18:20:59 +08:00
|
|
|
|
|
|
|
|
Route::get('goods/import/template', [GoodsController::class, 'download'])->name('download.goods_import.template');
|
2022-08-06 15:25:13 +08:00
|
|
|
|
|
|
|
|
Route::get('callback', [ShopsController::class, 'authBind'])->name('shop.auth_bind.callback');
|