request->get(); $lists = IntegralGoodsLogic::lists($this->user_id, $get, $this->page_no, $this->page_size); return JsonServer::success('获取成功', $lists); } /** * @notes 商品详情 * @return \think\response\Json * @author 段誉 * @date 2022/2/28 15:32 */ public function detail() { (new IntegralGoodsValidate())->goCheck(); $id = $this->request->get('id', '', 'trim'); $goodsDetail = IntegralGoodsLogic::detail($id); return JsonServer::success('获取成功', $goodsDetail); } }