From 9c9beffa9d4beb24393cc4cf435dc3b30bbad5a7 Mon Sep 17 00:00:00 2001 From: yanzai Date: Tue, 29 Oct 2024 19:40:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=AC=BE=E6=92=A4=E9=94=80=E6=A0=B8?= =?UTF-8?q?=E9=94=80=E4=BC=98=E6=83=A0=E5=88=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Laravel/app/Http/Controllers/API/H5/PayController.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Laravel/app/Http/Controllers/API/H5/PayController.php b/Laravel/app/Http/Controllers/API/H5/PayController.php index d595677..754bde2 100644 --- a/Laravel/app/Http/Controllers/API/H5/PayController.php +++ b/Laravel/app/Http/Controllers/API/H5/PayController.php @@ -163,6 +163,17 @@ class PayController extends Controller DB::table('orders')->where('id',$orderInfo->id)->update(['is_refund_yucunkuan'=>1]); } } + if(!empty($orderInfo->youhuiquan)){ + $youhuiquan=json_decode( $orderInfo->youhuiquan,true); + $data=[ + 'action'=>4, + 'ghzid'=>$person->ghzid, + 'dzjid'=>$youhuiquan['id'], + 'hxbz'=>"H5撤销核销", + 'yyid'=>$yyid + ]; + $AspNet::YouHuiQuan($data); + } } DB::table('orders')->where(['id' => $id])->update([