WIN-2308041133\Administrator 3 months ago
parent
commit
380cce619a
1 changed files with 1 additions and 1 deletions
  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']);
             })->when(isset($where['status']) && $where['status'] !== '',function($query) use($where){
                 $query->where('status',$where['status']);
-            });
+            })->with(['product','user']);
         return $query;
     }