订单详情不加诊所限制(给互联网医院转的在线复诊留口子)

This commit is contained in:
2025-12-22 10:59:54 +08:00
parent df376c04ae
commit ce9d2f7a13

View File

@@ -153,7 +153,7 @@ class ProductOrderController extends BaseAppController
$ProductOrder = ProductOrder::find()->select('id,order_no,su_id,p_id,user_id,is_pay,prescription_type,address_id,address,decoct_price,order_type,items_price,process_price,treatement_price,total_pay_price,pay_method,trans_expenses,created_at,received_time,cancel_status,refund_status,status')->where([
'p_id' => $post['prescription_id'],
'user_id' => \Yii::$app->user->identity->getId(),
'store_id' => $post['store_id']
// 'store_id' => $post['store_id']
])->asArray()->one();
if(!$ProductOrder){
throw new Exception('订单不存在');