| xqd
@@ -11,12 +11,12 @@
|
|
|
*/
|
|
|
|
|
|
$apiRoute = [
|
|
|
- 'api/album/xyx_login' => ['real' => 'Api/V1/Album/albumXyxLogin','method'=>'post','auth'=>false],
|
|
|
+ 'api/album/get-banner' => ['real' => 'Api/V1/Album/albumGetBanner','method'=>'get','auth'=>false],
|
|
|
'Api/V1/Album/albumCat' => 'get',
|
|
|
'Api/V1/Album/albumXyxLogin' => 'post',
|
|
|
'Api/V1/Album/albumSetting' => 'get'
|
|
|
];
|
|
|
-$auth = [
|
|
|
+/*$auth = [
|
|
|
'Api/V1/Album/albumGoods' => 'post',
|
|
|
'Api/V1/Album/albumCustomerGoods' => 'post',
|
|
|
'Api/V1/Album/albumCustomerGoodsDetail' => 'post',
|
| xqd
@@ -27,7 +27,7 @@ $auth = [
|
|
|
'Api/V1/AlbumBoss/albumOverviewActive' => 'post',
|
|
|
'Api/V1/Album/albumGoods' => 'post',
|
|
|
'Api/V1/Album/albumGoods' => 'post',
|
|
|
-];
|
|
|
+];*/
|
|
|
Route::get('/addons/furnitureWe7/public/', [
|
|
|
'as' => 'attachment.download',
|
|
|
'uses' => 'Web\AttachmentController@download',
|
| xqd
@@ -75,7 +75,7 @@ if (strpos(request()->getRequestUri(), '/addons/') !== false) {
|
|
|
if (file_exists($file)) {
|
|
|
$controller = implode("\\", $route) . "Controller";
|
|
|
$action = $controller . "@" . $baseRoute[count($route)];
|
|
|
-
|
|
|
+dd($action);
|
|
|
if ($apiRoute[$route_url]['auth'] == true) {
|
|
|
Route::middleware(['auth.api'])->group(function () use ($action, $route, $auth, $route_url) {
|
|
|
switch ($auth[$route_url]['method']) {
|