芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/store.kwesioben.com/app/Http/Middleware/SellerApiAuthMiddleware.php
header('authorization')); if (count($token) > 1 && strlen($token[1]) > 30) { $seller = Seller::where(['auth_token' => $token['1']])->first(); if (isset($seller)) { $request['seller'] = $seller; return $next($request); } } return response()->json([ 'auth-001' => translate('Your existing session token does not authorize you any more') ], 401); } }