优化操作日志函数

master
chenzhi 5 years ago
parent dd478e264f
commit 02407d1c50

@ -681,7 +681,7 @@ class AdminController extends Controller {
} }
} }
if(!array_key_exists("op_name",$options)){ if(!array_key_exists("op_name",$options)){
$options['op_name'] = ($options['op_type'] == 1 ? "编辑" : ($options['op_type'] == 2 ? "删除" :"下载")); $options['op_name'] = ($options['op_type'] == 1 ? "编辑" : ($options['op_type'] == 2 ? "删除" :"导出"));
} }
//获取ip //获取ip
$addarray = [ $addarray = [

Loading…
Cancel
Save