From fe7ed9d6a48e53b25c65c8f8e208242515fa2cdf Mon Sep 17 00:00:00 2001 From: zhaoxiang <756958008@qq.com> Date: Tue, 20 Jun 2017 15:09:30 +0800 Subject: [PATCH] =?UTF-8?q?modified=20=E5=88=A0=E9=99=A4=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=EF=BC=8C=E5=88=A0=E9=99=A4=E7=9B=B8=E5=85=B3=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Controller/ApiManageController.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Application/Admin/Controller/ApiManageController.class.php b/Application/Admin/Controller/ApiManageController.class.php index b610145..47f0861 100644 --- a/Application/Admin/Controller/ApiManageController.class.php +++ b/Application/Admin/Controller/ApiManageController.class.php @@ -89,6 +89,9 @@ class ApiManageController extends BaseController { $hash = D('ApiList')->where(array('id' => $id))->getField('hash'); S('ApiInfo_' . $hash, null); D('ApiList')->del(array('id' => $id)); + S('ApiRequest_' . $hash, null); + S('ApiResponse_' . $hash, null); + D('ApiFields')->where(array('hash' => $hash))->delete(); $this->ajaxSuccess('操作成功'); } else { $this->ajaxError('缺少参数');