php锁定记录,防止多人操作
<script type="text/javascript"> //编辑时锁定 function lock() { var controller = "<?= $this->context->id ?>"; var id = "<?= $id?>"; //发送锁定请求 $.getJSON('/admin.php?r=si