request->get(); $result = (new DevShareLogic())->lists($params); return $this->data($result); } /** * @notes 编辑 * @return \think\response\Json * @author ljj * @date 2024/9/9 下午5:35 */ public function edit() { $params = (new DevShareValidate())->post()->goCheck('edit'); (new DevShareLogic())->edit($params); return $this->success('修改成功',[],1,1); } /** * @notes 详情 * @return \think\response\Json * @author ljj * @date 2024/9/9 下午5:35 */ public function detail() { $params = (new DevShareValidate())->goCheck('detail'); $result = (new DevShareLogic())->detail($params); return $this->success('',$result); } }