diff --git a/Application/Admin/Controller/ExportController.class.php b/Application/Admin/Controller/ExportController.class.php index f4a9b235d..a62291e34 100644 --- a/Application/Admin/Controller/ExportController.class.php +++ b/Application/Admin/Controller/ExportController.class.php @@ -1212,6 +1212,11 @@ class ExportController extends Controller flush();//必须同时使用 ob_flush() 和flush() 函数来刷新输出缓冲。 } fclose($fp); + //操作日志 + $GetData = $_GET; + unset($GetData['xlsname']); + addOperationLog(['op_type'=>3,'key'=>getNowDate(),'url'=>U('Spend/lists',$GetData),'menu'=>'充值-游戏订单-游戏充值-导出']); + exit(); // $xlsCell = array( // array('pay_order_number', "订单号"), diff --git a/Application/Admin/Controller/RepairController.class.php b/Application/Admin/Controller/RepairController.class.php index cd2823ffd..d0093e5e3 100644 --- a/Application/Admin/Controller/RepairController.class.php +++ b/Application/Admin/Controller/RepairController.class.php @@ -33,6 +33,13 @@ class RepairController extends ThinkController { ]); $rr = $spend->where(array('pay_order_number'=>$orderNo))->save(array('pay_game_status'=>1)); + //操作日志 + addOperationLog(array( + "op_type"=>1, + "key"=> $orderNo, + "url"=>U("Spend/lists",array("pay_order_number"=>$orderNo)) + )); + $this->ajaxReturn(array('status'=>1,'msg'=>'补单成功')); }else{ $this->ajaxReturn(array('status'=>0,'msg'=>'补单失败')); @@ -204,9 +211,16 @@ class RepairController extends ThinkController { } // todo: 分红 上级奖励等 - if ($tab == 'spend' && $cpFlag == 0) { - $this->ajaxReturn(['status'=>0,'msg'=>'充值补单成功,通知CP失败!']); - } + // if ($tab == 'spend' && $cpFlag == 0) { + // $this->ajaxReturn(['status'=>0,'msg'=>'充值补单成功,通知CP失败!']); + // } + //操作日志 + addOperationLog(array( + "op_type"=>1, + "key"=> $orderNo, + "menu"=>"充值-游戏订单-游戏充值-通知到账", + "url"=>U("Spend/lists",array("pay_order_number"=>$orderNo)) + )); $this->ajaxReturn(['status'=>1,'msg'=>'充值补单成功!']); } else { M('spend', 'tab_')->rollback();