游戏充值-操作日志

master
chenzhi 5 years ago
parent e129a044d4
commit 6cb25fe7fe

@ -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', "订单号"),

@ -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();

Loading…
Cancel
Save