6
0
Fork 0

添加付款者判断

release
vine_liutk 2022-01-19 15:46:05 +08:00 committed by 李静
parent fe8c2b583b
commit 77e8aca00d
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ class DealerEarningSimpleResource extends JsonResource
'total_earnings'=> $this->total_earnings,
'status' => $this->settle_at ? $this->status : -1,
'status_name' => $this->status_name,
'is_payer' => $this->payer_id ? ($this->payer_id == $request->user()->id) : false,
// 'settle_at'
];
}