6
0
Fork 0

调整资金返回状态值

release
vine_liutk 2022-01-19 10:07:52 +08:00 committed by 李静
parent 17a6caab28
commit 135f9ee7fa
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class DealerEarningResource extends JsonResource
'fee_rate' => $this->fee_rate,
'fee' => $this->fee,
'total_earnings'=> $this->total_earnings,
'status' => $this->status,
'status' => $this->settle_at ? $this->status : -1,
'status_name' => $this->status_name,
'remark' => $this->remark,
'pay_info' => $this->getPayInfo(),

View File

@ -19,7 +19,7 @@ class DealerEarningSimpleResource extends JsonResource
'type' => $this->type_name,
'created_at' => $this->created_at->toDateTimeString(),
'total_earnings'=> $this->total_earnings,
'status' => $this->status,
'status' => $this->settle_at ? $this->status : -1,
'status_name' => $this->status_name,
// 'settle_at'
];