6
0
Fork 0

添加发起砍价人的头像

release
vine_liutk 2022-04-11 15:02:40 +08:00
parent 566a39522b
commit 27e852f880
1 changed files with 1 additions and 0 deletions

View File

@ -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,
];
}