修改订阅消息跳转链接
This commit is contained in:
parent
743dd417b8
commit
488cac531b
@ -70,8 +70,6 @@ class MessagePush extends BaseService
|
||||
* 公益/专家24小时未接诊
|
||||
* 站内、订阅
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function patientNoInquiry(): void
|
||||
{
|
||||
@ -123,7 +121,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "UOMww1S30Oq7rErJrqO8wN6lNEVKRo2fgcXnb0tBwHI";//问诊异常通知
|
||||
$sub_data['params']['page'] = "pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['page'] = "patient/pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['data'] = [
|
||||
"character_string1" => (string)$this->order_inquiry['inquiry_no'],// 订单ID
|
||||
"name2" => (string)$user_doctor['user_name'],// 问诊医生
|
||||
@ -151,8 +149,6 @@ class MessagePush extends BaseService
|
||||
* 患者-分配医生失败
|
||||
* 订阅
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function assignDoctorFail(): void
|
||||
{
|
||||
@ -168,7 +164,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "UOMww1S30Oq7rErJrqO8wN6lNEVKRo2fgcXnb0tBwHI";//问诊异常通知
|
||||
$sub_data['params']['page'] = "pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['page'] = "patient/pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['data'] = [
|
||||
"character_string1" => (string)$this->order_inquiry['inquiry_no'],// 订单ID
|
||||
"name2" => $user_doctor['user_name'] ?? "接诊医生",// 问诊医生
|
||||
@ -197,8 +193,6 @@ class MessagePush extends BaseService
|
||||
* 订阅
|
||||
* @param string $content 回复内容
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function patientReplyNotice(string $content): bool
|
||||
{
|
||||
@ -309,7 +303,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "9v6dZhjg09CttLd3W9nEUV_-eshNc4BYYNy59jglvZE";// 问诊提醒
|
||||
$sub_data['params']['page'] = "pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['page'] = "patient/pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['data'] = [
|
||||
"thing1" => (string)$disease_desc,// 问诊内容-病情主诉
|
||||
"thing2" => "医生已接诊,请您尽快和医生沟通交流病情",// 提醒内容
|
||||
@ -430,7 +424,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "9v6dZhjg09CttLd3W9nEUV_-eshNc4BYYNy59jglvZE"; // 问诊提醒
|
||||
$sub_data['params']['page'] = "pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['page'] = "patient/pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['data'] = [
|
||||
"thing1" => (string)$disease_desc,// 问诊内容
|
||||
"thing2" => "您的问诊服务已结束,请对本次服务做出评价",// 提醒内容
|
||||
@ -601,8 +595,6 @@ class MessagePush extends BaseService
|
||||
* 站内
|
||||
* @param string $coupon_name
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function patientRefundCoupon(string $coupon_name): void
|
||||
{
|
||||
@ -755,8 +747,6 @@ class MessagePush extends BaseService
|
||||
* 站内、订阅、短信
|
||||
* @param string $order_product_id
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function refundProductSuccess(string $order_product_id): void
|
||||
{
|
||||
@ -831,7 +821,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/medinceOrderDetail/medinceOrderDetail?order_product_id={$order_product_id}";
|
||||
$sub_data['params']['page'] = "patient/pages/medinceOrderDetail/medinceOrderDetail?order_product_id={$order_product_id}";
|
||||
$sub_data['params']['data'] = [
|
||||
"character_string3" => (string)$order_product['order_product_no'],// 订单号
|
||||
|
||||
@ -887,8 +877,6 @@ class MessagePush extends BaseService
|
||||
* @param string $status 已揽收、已发货、已签收
|
||||
* @param string $order_product_id
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function logistics(string $status, string $order_product_id): void
|
||||
{
|
||||
@ -926,8 +914,6 @@ class MessagePush extends BaseService
|
||||
* 订阅失败发送短信
|
||||
* @param string $order_product_id
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function productDelivery(string $order_product_id): void
|
||||
{
|
||||
@ -979,7 +965,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "YFdVxDclV1ZjhS7E4Cs0zFdshTRizERpwYdZizj_UWo"; // 药品发货通知
|
||||
$sub_data['params']['page'] = "pages/medinceOrderDetail/medinceOrderDetail?order_product_id={$order_product_id}";
|
||||
$sub_data['params']['page'] = "patient/pages/medinceOrderDetail/medinceOrderDetail?order_product_id={$order_product_id}";
|
||||
$sub_data['params']['data'] = [
|
||||
"character_string9" => (string)$order_product['order_product_no'],// 快递单号
|
||||
"time7" => $order_product['delivery_time'],// 发货时间
|
||||
@ -1020,8 +1006,6 @@ class MessagePush extends BaseService
|
||||
* 订阅失败发送短信
|
||||
* @param string $order_product_id
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function medicationReminder(string $order_product_id): bool
|
||||
{
|
||||
@ -1279,8 +1263,6 @@ class MessagePush extends BaseService
|
||||
* 医生-开具的处方审核通过
|
||||
* 站内、订阅失败发送短信
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function prescriptionVerifySuccess(): void
|
||||
{
|
||||
@ -1325,7 +1307,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "kUy70xHlr7ADo4aIHiictM4Te7MSec3E5kHsYvFQu40"; // 处方审核结果通知
|
||||
$sub_data['params']['page'] = "Pages/yishi/chufangsetup/index?status=1";
|
||||
$sub_data['params']['page'] = "user/pages/yishi/chufangsetup/index?status=1";
|
||||
$sub_data['params']['data'] = [
|
||||
"phrase1" => "审方通过",// 审核结果
|
||||
"thing2" => "审核通过",// 原因
|
||||
@ -1364,8 +1346,6 @@ class MessagePush extends BaseService
|
||||
* 订阅失败发送短信
|
||||
* @param string $order_prescription_id
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function prescriptionVerifyFail(string $order_prescription_id = ""): void
|
||||
{
|
||||
@ -1383,7 +1363,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "kUy70xHlr7ADo4aIHiictM4Te7MSec3E5kHsYvFQu40"; // 处方审核结果通知
|
||||
$sub_data['params']['page'] = "Pages/yishi/chufangsetup/index?status=2";
|
||||
$sub_data['params']['page'] = "user/pages/yishi/chufangsetup/index?status=2";
|
||||
$sub_data['params']['data'] = [
|
||||
"phrase1" => "审方不通过",// 审核结果
|
||||
"thing2" => (string)$order_prescription['pharmacist_fail_reason'],// 原因
|
||||
@ -1421,8 +1401,6 @@ class MessagePush extends BaseService
|
||||
* 医师身份通过
|
||||
* 短信
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function DoctorIdenAuthSuccess(): bool
|
||||
{
|
||||
@ -1457,8 +1435,6 @@ class MessagePush extends BaseService
|
||||
* 医师身份未通过
|
||||
* 短信
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function DoctorIdenAuthFail(): bool
|
||||
{
|
||||
@ -1493,8 +1469,6 @@ class MessagePush extends BaseService
|
||||
* 多点执业认证审核通过
|
||||
* 站内、订阅发送失败发送短信
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorMultiPointSuccess(): bool
|
||||
{
|
||||
@ -1572,8 +1546,6 @@ class MessagePush extends BaseService
|
||||
* 多点执业认证审核未通过
|
||||
* 站内、订阅发送失败发送短信
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorMultiPointFail(): bool
|
||||
{
|
||||
@ -1648,8 +1620,6 @@ class MessagePush extends BaseService
|
||||
* 医生简介审核通过-因缺少简介表,审核时间使用的是当前时间
|
||||
* 站内、订阅发送失败发送短信
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorBriefSuccess(): bool
|
||||
{
|
||||
@ -1726,8 +1696,6 @@ class MessagePush extends BaseService
|
||||
* 医生简介审核未通过-因缺少简介表,审核时间使用的是当前时间,驳回理由未填写
|
||||
* 站内、订阅发送失败发送短信
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorBriefFail(): bool
|
||||
{
|
||||
@ -1802,8 +1770,6 @@ class MessagePush extends BaseService
|
||||
* 站内、短信
|
||||
* @param string $withdrawal_id
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorSettlementSuccess(string $withdrawal_id)
|
||||
{
|
||||
@ -1882,8 +1848,6 @@ class MessagePush extends BaseService
|
||||
* 站内、短信
|
||||
* @param string $withdrawal_id
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorSettlementFail(string $withdrawal_id): bool
|
||||
{
|
||||
@ -1962,8 +1926,6 @@ class MessagePush extends BaseService
|
||||
* @param string $date 日期
|
||||
* @param string $function 功能
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorSystemUpgrade(string $date, string $function): bool
|
||||
{
|
||||
@ -2000,8 +1962,6 @@ class MessagePush extends BaseService
|
||||
* 站内
|
||||
* @param string $title 协议名称
|
||||
* @return bool
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorAgreementUpdate(string $title): bool
|
||||
{
|
||||
@ -2037,8 +1997,6 @@ class MessagePush extends BaseService
|
||||
* 医生-患者取消问诊
|
||||
* 站内-订阅
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function patientCancelInquiryToDoctor(): void
|
||||
{
|
||||
@ -2129,8 +2087,6 @@ class MessagePush extends BaseService
|
||||
* 医生-超时未接诊
|
||||
* 站内、订阅
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function doctorNoInquiry(): void
|
||||
{
|
||||
@ -2204,8 +2160,6 @@ class MessagePush extends BaseService
|
||||
* 订阅
|
||||
* @param string $order_detection_id
|
||||
* @return void
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function patientCancelDetectionOrderSuccess(string $order_detection_id): void
|
||||
{
|
||||
@ -2231,7 +2185,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "5aJSrO8SU5rxqdB99zzl4rMVgcOTjt5mQh56cpZI1Hg";//咨询提醒
|
||||
$sub_data['params']['page'] = "/pages/checkOrderDetail/checkOrderDetail?order_detection_id=" . $order_detection['detection_no'];
|
||||
$sub_data['params']['page'] = "patient/pages/checkOrderDetail/checkOrderDetail?order_detection_id=" . $order_detection['detection_no'];
|
||||
$sub_data['params']['data'] = [
|
||||
"thing1" => $order_detection['patient_name'],// 就诊人
|
||||
"thing7" => (string)$detection_project['detection_project_name'],// 服务项目
|
||||
@ -2295,7 +2249,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "dNj3azLupP_w3j649v6lqz7je_ScqwgwFsnug6pKvyI"; // 处方审核结果通知
|
||||
$sub_data['params']['page'] = "/pages/checkOrderDetail/checkOrderDetail?order_detection_id=" . $order_detection['detection_no'];
|
||||
$sub_data['params']['page'] = "patient/pages/checkOrderDetail/checkOrderDetail?order_detection_id=" . $order_detection['detection_no'];
|
||||
$sub_data['params']['data'] = [
|
||||
"thing1" => "【" . $detection_project['detection_project_name'] . "】报告已出",// 报告名称
|
||||
"time3" => date('Y年m月d日 H:i'),// 生成时间
|
||||
@ -2597,7 +2551,7 @@ class MessagePush extends BaseService
|
||||
$sub_data = array();
|
||||
$sub_data['push_user_id'] = $this->user['user_id'];
|
||||
$sub_data['wx_template_id'] = "9v6dZhjg09CttLd3W9nEUV_-eshNc4BYYNy59jglvZE";// 问诊提醒
|
||||
$sub_data['params']['page'] = "pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['page'] = "patient/pages/orderDetail/orderDetail?order_inquiry_id={$this->order_inquiry['order_inquiry_id']}";
|
||||
$sub_data['params']['data'] = [
|
||||
"thing1" => (string)$disease_desc,// 问诊内容-病情主诉
|
||||
"thing2" => "医生赠送您{$times_number}次沟通机会",// 提醒内容
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user