| xqd
@@ -161,8 +161,8 @@ class InteractionController extends Controller
|
|
|
// $data['to_user_id'] = InteractionInfo::find($request->id)->dream->user_id;
|
|
|
// $data['to_user_avatar'] = InteractionInfo::find($request->id)->dream->user_avatar;
|
|
|
// $data['to_user_nickname'] = InteractionInfo::find($request->id)->dream->user_nickname;
|
|
|
- if (!empty($request->input('to_user_id'))) {
|
|
|
- $to_user = UserInfoModel::find($request->input('to_user_id'));
|
|
|
+ if (!empty($request->input('comment_user_id'))) {
|
|
|
+ $to_user = UserInfoModel::find($request->input('comment_user_id'));
|
|
|
if (!empty($to_user)){
|
|
|
$data['to_user_id'] = $request->input('to_user_id');
|
|
|
$data['to_user_avatar'] = $to_user->avatar;
|