lists(); return $this->success('获取成功',$result); } /** * @notes 编辑支付配置 * @return \think\response\Json * @throws \think\db\exception\DataNotFoundException * @throws \think\db\exception\DbException * @throws \think\db\exception\ModelNotFoundException * @author ljj * @date 2022/2/15 6:13 下午 */ public function edit() { $params = (new PayConfigValidate())->post()->goCheck('edit'); (new PayConfigLogic())->edit($params); return $this->success('操作成功',[],1,1); } /** * @notes 支付配置详情 * @return \think\response\Json * @author ljj * @date 2022/2/15 6:28 下午 */ public function detail() { $id = $this->request->get('id'); $result = (new PayConfigLogic())->detail($id); return $this->success('获取成功',$result); } }