门店评论增删改查

wysf
ztt 1 year ago
parent bf5db8ca89
commit e6172eec0f
  1. 4
      app/store/model/store/shop/Comment.php

@ -40,7 +40,7 @@ class Comment extends CommenModel
// 检索查询条件
$filter = $this->getFilter($param);
// 查询列表数据
return $this->with(['image'])
return $this->with(['file'])
->where($filter)
->where('is_delete', '=', 0)
->order(['create_time' => 'desc', $this->getPk()])
@ -58,7 +58,7 @@ class Comment extends CommenModel
// 检索查询条件
$filter = $this->getFilter($param);
// 查询列表数据
return $this->with(['image'])
return $this->with(['file'])
->where($filter)
->where('is_delete', '=', 0)
->order(['create_time' => 'desc', $this->getPk()])

Loading…
Cancel
Save