Commit 696889b7 by 杨树贤

中间件去掉特定路由判断

parent 534ca87a
......@@ -2,37 +2,8 @@
<project version="4">
<component name="ChangeListManager">
<list default="true" id="fb90add0-1393-48c2-9f26-72365d42cd03" name="变更" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/app/helpers.php" beforeDir="false" afterPath="$PROJECT_DIR$/app/helpers.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bootstrap/app.php" beforeDir="false" afterPath="$PROJECT_DIR$/bootstrap/app.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/bootstrap/cache/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/bootstrap/cache/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/auth/loginbox.less" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/auth/loginbox.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/common/base.less" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/common/base.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/common/base.min.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/common/base.min.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/common/common.less" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/common/common.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/common/common.min.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/common/common.min.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/common/pop.less" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/common/pop.less" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/css/common/pop.min.css" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/css/common/pop.min.css" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/js/auth/login.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/auth/login.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/js/car/confirm.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/car/confirm.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/js/common/liexin_pop.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/common/liexin_pop.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/js/common/mallUi.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/common/mallUi.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/js/common/tool.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/common/tool.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/public/assets/js/mall/mall.js" beforeDir="false" afterPath="$PROJECT_DIR$/public/assets/js/mall/mall.js" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/about/certification.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/about/certification.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/about/company.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/about/company.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/about/privacy.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/about/privacy.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/about/quality.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/about/quality.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/about/refund.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/about/refund.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/about/term.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/about/term.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/about/termuser.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/about/termuser.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/common/footersm.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/common/footersm.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/common/headerNav.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/common/headerNav.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/common/inquiryPop.blade.php" beforeDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/common/js.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/common/js.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/common/mallFooter.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/common/mallFooter.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/common/mallHeaderNav.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/common/mallHeaderNav.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/resources/views/home/home.blade.php" beforeDir="false" afterPath="$PROJECT_DIR$/resources/views/home/home.blade.php" afterDir="false" />
<change beforePath="$PROJECT_DIR$/storage/app/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/storage/app/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/storage/app/public/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/storage/app/public/.gitignore" afterDir="false" />
<change beforePath="$PROJECT_DIR$/storage/framework/.gitignore" beforeDir="false" afterPath="$PROJECT_DIR$/storage/framework/.gitignore" afterDir="false" />
......@@ -215,7 +186,7 @@
<workItem from="1667266026118" duration="40321000" />
<workItem from="1667959054458" duration="183000" />
<workItem from="1667986756173" duration="14315000" />
<workItem from="1668150640953" duration="2887000" />
<workItem from="1668150640953" duration="3495000" />
</task>
<servers />
</component>
......
......@@ -16,7 +16,7 @@ class CheckApiLogin
*/
public function handle($request, Closure $next)
{
if (!\Auth::check() && !$request->is('api/cart/*')) { //一些接口可以登录或者不登录都可以通行
if (!\Auth::check()) { //一些接口可以登录或者不登录都可以通行
$response = [
'code' => 1,
'msg' => 'need login...',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment