@@ -30,7 +30,7 @@ class Controller extends BaseController
$this->middleware('auth:api', [
'except' => [
'upload', 'getCode', 'login', 'wechatLogin', 'alipayNotify', 'wechatpayNotify',
- 'download', 'test','home','reply'
+ 'download', 'test','home'
]
]);
@@ -255,7 +255,7 @@ class MyController extends Controller
public function reply()
{
$user = $this->getUser();
- $user = UserInfoModel::find(4);
+// $user = UserInfoModel::find(4);
$data = CommentInfoModel::where('to_user_id',$user->id)->orderBy('id','desc')->get(); //user_id
foreach ($data as $item){ //访问接口 标记已读
// dump(234324);