日志管理删除url开启

master
zhengyongxing 5 years ago
parent 84d061c887
commit caddcd1543

@ -280,6 +280,9 @@ class PresidentDepositController extends ThinkController
{
$promoteId = I('id', 0);
M('president_deposit', 'tab_')->where(['promote_id' => $promoteId])->delete();
addOperationLog(['op_type'=>2,'key'=>$promoteId,'op_name'=>'删除会长押金记录','url'=>U('PresidentDeposit/records',['id'=>$promoteId]),'menu'=>'推广员-结算单管理-奖罚记录管理-删除会长押金记录']);
$this->ajaxReturn([
'status' => 1,
'message' => '删除成功'

@ -118,7 +118,9 @@
<volist name="data" id="data" key="$key">
<tr>
<td >{$data.id}</td>
<td ><if condition="$data['op_type'] neq 2"><a href="{$data.url}" target="_blank">{$data.menu}-{$data.key}</a><else/>{$data.menu}-{$data.key}</if></td>
<td >
<a href="{$data.url}" target="_blank">{$data.menu}-{$data.key}</a>
</td>
<td >{$data.op_name}</td>
<td >{$data.admin_account}</td>
<td >{$data.create_time|date='Y-m-d H:i:s',###}</td>

Loading…
Cancel
Save