添加发起砍价人的头像
parent
566a39522b
commit
27e852f880
|
|
@ -22,6 +22,7 @@ class BargainOrderResource extends JsonResource
|
|||
'expire_at'=> $this->expire_at->format('Y-m-d H:i:s'),
|
||||
'status' => $this->status,
|
||||
'user_nickname'=> $this->user->userInfo->nickname ?? '',
|
||||
'user_avatar'=> $this->user->userInfo->avatar ?? '',
|
||||
'is_owner' => $this->user_id == $userId ? true : false,
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue