新增删除日志

master
chenzhi 4 years ago
parent 79468aa6f2
commit b35d0a0e95

@ -310,6 +310,7 @@ class CompanyStatementController extends ThinkController
if(!isset($_REQUEST['ids'])) $this->error("参数错误"); if(!isset($_REQUEST['ids'])) $this->error("参数错误");
$ids = $_REQUEST['ids']; $ids = $_REQUEST['ids'];
$dbres = $this->DBModel->where("id in ({$ids}) and verify_status = 0")->delete(); $dbres = $this->DBModel->where("id in ({$ids}) and verify_status = 0")->delete();
addOperationLog(['op_type'=>2,'key'=>$ids,"op_name"=>"删除结算单",'url'=>U('lists')]);
$this->ajaxReturn(array( $this->ajaxReturn(array(
'status' => 1, 'status' => 1,
"info"=>"删除成功" "info"=>"删除成功"

Loading…
Cancel
Save