wesmiler 2 bulan lalu
induk
melakukan
1e394763ca
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      app/Models/AccountLogModel.php

+ 1 - 1
app/Models/AccountLogModel.php

@@ -53,7 +53,7 @@ class AccountLogModel extends BaseModel
     // 账单
     public function getBillAttribute()
     {
-        if($this->type==3){
+        if($this->type==4){
             return BalanceLogModel::where(['order_no'=>$this->source_order_no,'mark'=>1])
                 ->select(['id','user_id','order_no','money','pay_at','confirm_remark','transaction_id','confirm_at','create_time','status'])
                 ->first();