From 34716394891fd49c90ea7bcbf24d374f5aa06734 Mon Sep 17 00:00:00 2001 From: tping Date: Mon, 23 Nov 2020 17:59:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E9=80=9A=E7=9F=A5=20?= =?UTF-8?q?=E8=A1=A5=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/RepairController.class.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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,