|
|
@ -33,6 +33,13 @@ class RepairController extends ThinkController {
|
|
|
|
]);
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
|
|
$rr = $spend->where(array('pay_order_number'=>$orderNo))->save(array('pay_game_status'=>1));
|
|
|
|
$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'=>'补单成功'));
|
|
|
|
$this->ajaxReturn(array('status'=>1,'msg'=>'补单成功'));
|
|
|
|
}else{
|
|
|
|
}else{
|
|
|
|
$this->ajaxReturn(array('status'=>0,'msg'=>'补单失败'));
|
|
|
|
$this->ajaxReturn(array('status'=>0,'msg'=>'补单失败'));
|
|
|
@ -204,9 +211,16 @@ class RepairController extends ThinkController {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
// todo: 分红 上级奖励等
|
|
|
|
// todo: 分红 上级奖励等
|
|
|
|
if ($tab == 'spend' && $cpFlag == 0) {
|
|
|
|
// if ($tab == 'spend' && $cpFlag == 0) {
|
|
|
|
$this->ajaxReturn(['status'=>0,'msg'=>'充值补单成功,通知CP失败!']);
|
|
|
|
// $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'=>'充值补单成功!']);
|
|
|
|
$this->ajaxReturn(['status'=>1,'msg'=>'充值补单成功!']);
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
M('spend', 'tab_')->rollback();
|
|
|
|
M('spend', 'tab_')->rollback();
|
|
|
|