| xqd
@@ -22,7 +22,6 @@ class Controller extends BaseController
|
|
|
{
|
|
|
// $this->user = UserInfoModel::where('phone','13880642880')->first();
|
|
|
$this->user = Auth::guard('api')->user();
|
|
|
- $this->user = UserInfoModel::find(1);
|
|
|
return $this->user;
|
|
|
}
|
|
|
|
| xqd
@@ -31,7 +30,7 @@ class Controller extends BaseController
|
|
|
$this->middleware('auth:api', [
|
|
|
'except' => [
|
|
|
'upload', 'getCode', 'login', 'wechatLogin', 'alipayNotify', 'wechatpayNotify',
|
|
|
- 'download', 'test','home'
|
|
|
+ 'download', 'test',
|
|
|
]
|
|
|
]);
|
|
|
|