diff --git a/Application/Admin/Controller/RepairController.class.php b/Application/Admin/Controller/RepairController.class.php index 87df477e9..28615da36 100644 --- a/Application/Admin/Controller/RepairController.class.php +++ b/Application/Admin/Controller/RepairController.class.php @@ -31,8 +31,19 @@ class RepairController extends ThinkController { 'create_time' => time(), 'type' => 1 // 补单 ]); - + + $sp = $spend->where([ + 'pay_order_number' => $orderNo + ])->find(); $rr = $spend->where(array('pay_order_number'=>$orderNo))->save(array('pay_game_status'=>1)); + if ($sp['extend']) { + $spend->where([ + 'extend' => $sp['extend'], + 'pay_status' => 1, + 'user_id' => $sp['user_id'] + ])->save(array('pay_game_status' => 1)); + } + //操作日志 addOperationLog(array( "op_type"=>1,