From 6a2492484d0e078f995e3b0be7b7972a7109394a Mon Sep 17 00:00:00 2001 From: liqi Date: Tue, 24 Dec 2024 14:14:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=A7=E5=93=81=E6=9C=8D=E5=8A=A1=E5=8C=85?= =?UTF-8?q?=E7=9A=84=E6=9F=A5=E8=AF=A2=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- member/modules/v1/controllers/ProductOrderController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/member/modules/v1/controllers/ProductOrderController.php b/member/modules/v1/controllers/ProductOrderController.php index dacef24..f7b26cf 100644 --- a/member/modules/v1/controllers/ProductOrderController.php +++ b/member/modules/v1/controllers/ProductOrderController.php @@ -181,7 +181,7 @@ class ProductOrderController extends BaseAppController if($prescription['wr_ids']){ $wr_ids = explode(',', $prescription['wr_ids']); - if (intval($prescription['prescription_type']) === 5) { + if ($prescription['prescription_type'] == 5) { $west = ServicePackageRepice::find()->select('content,number,total_price')->where([ 'in', 'id', $wr_ids