1
This commit is contained in:
@@ -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'],// 订单号
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -380,7 +380,7 @@ class UserService extends BaseService
|
||||
return fail(HttpEnumCode::HTTP_ERROR, $e->getMessage());
|
||||
}
|
||||
|
||||
return success();
|
||||
return success($user_ship_address->toArray());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user