调整资金返回状态值
parent
17a6caab28
commit
135f9ee7fa
|
|
@ -22,7 +22,7 @@ class DealerEarningResource extends JsonResource
|
||||||
'fee_rate' => $this->fee_rate,
|
'fee_rate' => $this->fee_rate,
|
||||||
'fee' => $this->fee,
|
'fee' => $this->fee,
|
||||||
'total_earnings'=> $this->total_earnings,
|
'total_earnings'=> $this->total_earnings,
|
||||||
'status' => $this->status,
|
'status' => $this->settle_at ? $this->status : -1,
|
||||||
'status_name' => $this->status_name,
|
'status_name' => $this->status_name,
|
||||||
'remark' => $this->remark,
|
'remark' => $this->remark,
|
||||||
'pay_info' => $this->getPayInfo(),
|
'pay_info' => $this->getPayInfo(),
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@ class DealerEarningSimpleResource extends JsonResource
|
||||||
'type' => $this->type_name,
|
'type' => $this->type_name,
|
||||||
'created_at' => $this->created_at->toDateTimeString(),
|
'created_at' => $this->created_at->toDateTimeString(),
|
||||||
'total_earnings'=> $this->total_earnings,
|
'total_earnings'=> $this->total_earnings,
|
||||||
'status' => $this->status,
|
'status' => $this->settle_at ? $this->status : -1,
|
||||||
'status_name' => $this->status_name,
|
'status_name' => $this->status_name,
|
||||||
// 'settle_at'
|
// 'settle_at'
|
||||||
];
|
];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue