This commit is contained in:
2023-04-12 14:38:47 +08:00
parent 189dc54d55
commit 66df9d1548
6 changed files with 85 additions and 44 deletions
+1 -1
View File
@@ -738,7 +738,7 @@ class MessagePush extends BaseService
$sub_data = array();
$sub_data['push_user_id'] = $this->user['user_id'];
$sub_data['wx_template_id'] = "gQO5vhPQfdnvXtK0XnGns1XqNhQpOrXTjdl-5HWWMUw";//药品订单取消通知
$sub_data['params']['page'] = "pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
$sub_data['params']['page'] = "pages/medinceOrderDetail/medinceOrderDetail?order_product_id={$order_product_id}";
$sub_data['params']['data'] = [
"character_string3" => $order_product['order_product_no'],// 订单号
+3 -5
View File
@@ -604,7 +604,7 @@ class OrderPrescriptionService extends BaseService
// 获取商品订单列表数据
$params = array();
$params['order_inquiry_id'] = $order_prescription['order_inquiry_id'];
$params['order_product_id'] = $order_product['order_product_id'];
$order_product_item = OrderProductItem::getList($params);
if (empty($order_product_item)) {
throw new BusinessException("上报处方平台失败:商品订单列表数据错误");
@@ -837,12 +837,10 @@ class OrderPrescriptionService extends BaseService
$result = $Prescription->reportPrescription($arg);
if ($result['resultCode'] != "1000"){
if(!empty($result['resultDesc'])){
Log::getInstance()->info("上报处方平台失败:" .$result['resultDesc']);
return false;
throw new BusinessException("上报处方平台失败:" .$result['resultDesc']);
}
Log::getInstance()->info("上报处方平台失败:操作编码:" . $result['resultCode']);
return false;
throw new BusinessException("上报处方平台失败:操作编码:" . $result['resultCode']);
}
return true;
+1 -1
View File
@@ -380,7 +380,7 @@ class UserService extends BaseService
return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage());
}
return success();
return success($user_ship_address->toArray());
}
/**