wesmiler 2 месяцев назад
Родитель
Сommit
2b0fae5a7c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/Models/AccountLogModel.php

+ 1 - 1
app/Models/AccountLogModel.php

@@ -57,7 +57,7 @@ class AccountLogModel extends BaseModel
             return BalanceLogModel::where(['order_no'=>$this->source_order_no,'mark'=>1])
                 ->select(['id','user_id','order_no','money','pay_at','account_name','account','confirm_remark','transaction_id','confirm_at','create_time','status'])
                 ->first();
-        }else if($this->store_id>0){
+        }else if($this->store_id>0 && $this->type == 7){
             return OrderModel::where(['order_no'=>$this->source_order_no,'mark'=>1])
                 ->select(['id','user_id','order_no','total','meeting_id','pay_total','pay_at','transaction_id','bonus','create_time','status'])
                 ->first();