| xqd
@@ -254,7 +254,7 @@ class MyController extends Controller
|
|
|
$data = CommentInfoModel::where('to_user_id',$user->id)->orderBy('id','desc')->get(); //user_id
|
|
|
|
|
|
foreach ($data as $item){ //访问接口 标记已读
|
|
|
- $item->update(['is_read'=>1]);
|
|
|
+ $item->update(['is_read'=>0]);
|
|
|
}
|
|
|
return $this->api($data);
|
|
|
} /**
|