WIN-2308041133\Administrator hai 9 meses
pai
achega
380cce619a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/common/dao/store/order/VerifyRecordDao.php

+ 1 - 1
app/common/dao/store/order/VerifyRecordDao.php

@@ -50,7 +50,7 @@ class VerifyRecordDao extends BaseDao
                 $query->where('product_id',$where['product_id']);
                 $query->where('product_id',$where['product_id']);
             })->when(isset($where['status']) && $where['status'] !== '',function($query) use($where){
             })->when(isset($where['status']) && $where['status'] !== '',function($query) use($where){
                 $query->where('status',$where['status']);
                 $query->where('status',$where['status']);
-            });
+            })->with(['product','user']);
         return $query;
         return $query;
     }
     }