$params['remark'] ?? '','status'=>1],['id'=>$params['id']]); return true; } /** * @notes 回复详情 * @param $id * @return array * @author ljj * @date 2022/2/10 9:40 上午 */ public function detail($id) { return GoodsComment::where(['id'=>$id])->field('id,reply')->findOrEmpty()->toArray(); } /** * @notes 删除服务评价 * @param $id * @return bool * @author ljj * @date 2022/2/10 9:41 上午 */ public function del($id) { return GoodsComment::destroy($id); } }