mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
modified 删除接口,删除相关字段配置
This commit is contained in:
parent
31649100a2
commit
fe7ed9d6a4
@ -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('缺少参数');
|
||||
|
Loading…
x
Reference in New Issue
Block a user