dataLists(new GoodsCommentLists()); } /** * @notes 服务评价回复 * @return \think\response\Json * @author ljj * @date 2022/2/9 7:03 下午 */ public function reply() { $params = (new GoodsCommentValidate())->post()->goCheck('reply'); (new GoodsCommentLogic())->reply($params); return $this->success('操作成功',[],1,1); } /** * @notes 回复详情 * @return \think\response\Json * @author ljj * @date 2022/2/10 9:40 上午 */ public function detail() { $params = (new GoodsCommentValidate())->get()->goCheck('detail'); $result = (new GoodsCommentLogic())->detail($params['id']); return $this->success('获取成功',$result); } /** * @notes 删除服务评价 * @return \think\response\Json * @author ljj * @date 2022/2/10 9:42 上午 */ public function del() { $params = (new GoodsCommentValidate())->post()->goCheck('del'); (new GoodsCommentLogic())->del($params['id']); return $this->success('操作成功',[],1,1); } }