diff --git a/member/modules/v1/controllers/ProductOrderController.php b/member/modules/v1/controllers/ProductOrderController.php index 6317eda..20596eb 100644 --- a/member/modules/v1/controllers/ProductOrderController.php +++ b/member/modules/v1/controllers/ProductOrderController.php @@ -177,7 +177,7 @@ class ProductOrderController extends BaseAppController $h->select('name'); }])->asArray()->one(); - $prescription = Prescription::find()->select('cr_ids,wr_ids,gr_ids')->where(['id' => $ProductOrder['p_id']])->one(); + $prescription = Prescription::find()->select('cr_ids,wr_ids,gr_ids,category')->where(['id' => $ProductOrder['p_id']])->one(); if($prescription['wr_ids']){ $wr_ids = explode(',', $prescription['wr_ids']);