From 6024873844089c7d465f78b6df0a63fa5cfae150 Mon Sep 17 00:00:00 2001 From: mkm <727897186@qq.com> Date: Mon, 27 May 2024 17:21:11 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BF=AE=E6=94=B9=20OpurchaseclassCont?= =?UTF-8?q?roller=20=E4=B8=AD=E7=9A=84=20stream=5Fupdate=20=E6=96=B9?= =?UTF-8?q?=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/admin/controller/operation/OpurchaseclassController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/admin/controller/operation/OpurchaseclassController.php b/app/admin/controller/operation/OpurchaseclassController.php index 62bcbc2..6e2b767 100644 --- a/app/admin/controller/operation/OpurchaseclassController.php +++ b/app/admin/controller/operation/OpurchaseclassController.php @@ -158,8 +158,8 @@ class OpurchaseclassController extends BaseAdminController */ public function stream_update() { - $id=$this->request->get('id'); - $order_code=$this->request->get('order_code'); + $id=$this->request->post('id'); + $order_code=$this->request->post('order_code'); if($id){ Cashierclass::where('id',$id)->update(['is_stream'=>1,'stream_admin_id'=>$this->request->adminId,'stream_time'=>time()]); return $this->success('更新成功');