|
@@ -851,7 +851,7 @@ class PatientController extends AuthController
|
|
foreach ($Order as $k=>$v){
|
|
foreach ($Order as $k=>$v){
|
|
if ($v['docter']){
|
|
if ($v['docter']){
|
|
if ($v['docter']['openid']){
|
|
if ($v['docter']['openid']){
|
|
- $send = send_wechatSubscription_message('appoint_reminder',[$v['docter']['openid'],"https://easywechat.org",$v['order_sn'],$v['user']['nickname'],$v['user']['phone'],$v['created_at']]);
|
|
|
|
|
|
+ $send = send_wechatSubscription_message('appoint_reminder',[$v['docter']['openid'], "pages/index/index",$v['order_sn'],$v['user']['nickname'],$v['user']['phone'],$v['created_at']]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -879,7 +879,7 @@ class PatientController extends AuthController
|
|
if ($Order['docter']['openid']){
|
|
if ($Order['docter']['openid']){
|
|
$send = send_wechatSubscription_message('cancel_reminder',[
|
|
$send = send_wechatSubscription_message('cancel_reminder',[
|
|
$Order['docter']['openid'],
|
|
$Order['docter']['openid'],
|
|
- "https://easywechat.org",
|
|
|
|
|
|
+ "pages/index/index",
|
|
$Order['docter']['name'],
|
|
$Order['docter']['name'],
|
|
$Order['order_sn'],
|
|
$Order['order_sn'],
|
|
$type,
|
|
$type,
|
|
@@ -914,7 +914,7 @@ class PatientController extends AuthController
|
|
if ($Order['user']['openid']){
|
|
if ($Order['user']['openid']){
|
|
$send = send_wechatSubscription_message('receiving_reminder',[
|
|
$send = send_wechatSubscription_message('receiving_reminder',[
|
|
$Order['user']['openid'],
|
|
$Order['user']['openid'],
|
|
- "https://easywechat.org",
|
|
|
|
|
|
+ "pages/index/index",
|
|
$Order['order_sn'],
|
|
$Order['order_sn'],
|
|
$type,
|
|
$type,
|
|
date('Y-m-d H:i',$Order['receiving_time']),
|
|
date('Y-m-d H:i',$Order['receiving_time']),
|
|
@@ -939,7 +939,7 @@ class PatientController extends AuthController
|
|
if ($user['openid']){
|
|
if ($user['openid']){
|
|
$send = send_wechatSubscription_message('reply_reminder',[
|
|
$send = send_wechatSubscription_message('reply_reminder',[
|
|
$user['openid'],
|
|
$user['openid'],
|
|
- "https://easywechat.org",
|
|
|
|
|
|
+ "pages/index/index",
|
|
$list['organization']['name'],
|
|
$list['organization']['name'],
|
|
$list['docter']['name'],
|
|
$list['docter']['name'],
|
|
$user['nickname'],
|
|
$user['nickname'],
|
|
@@ -968,7 +968,7 @@ class PatientController extends AuthController
|
|
}
|
|
}
|
|
if ($list){
|
|
if ($list){
|
|
if ($openid){
|
|
if ($openid){
|
|
- $send = send_wechatSubscription_message('schedule_reminder',[$openid, "https://easywechat.org", $type, 'A社区']);
|
|
|
|
|
|
+ $send = send_wechatSubscription_message('schedule_reminder',[$openid, "pages/index/index", $type, 'A社区']);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -987,7 +987,7 @@ class PatientController extends AuthController
|
|
$openid = $list['openid'];
|
|
$openid = $list['openid'];
|
|
if ($list){
|
|
if ($list){
|
|
if ($openid){
|
|
if ($openid){
|
|
- $send = send_wechatSubscription_message('then_reminder',[$openid, "https://easywechat.org", $list['name'],$msg,$time]);
|
|
|
|
|
|
+ $send = send_wechatSubscription_message('then_reminder',[$openid, "pages/index/index", $list['name'],$msg,$time]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1003,7 +1003,7 @@ class PatientController extends AuthController
|
|
if($list){
|
|
if($list){
|
|
foreach ($list as $k=>$v){
|
|
foreach ($list as $k=>$v){
|
|
if ($v['docter']['openid']&& (strtotime($v['authentication_end_time'])-strtotime($v['authentication_time']))<=(1*60*60*24)){
|
|
if ($v['docter']['openid']&& (strtotime($v['authentication_end_time'])-strtotime($v['authentication_time']))<=(1*60*60*24)){
|
|
- $send = send_wechatSubscription_message('out_then_reminder',[$v['docter']['openid'], "https://easywechat.org", $v['organization']['name'],date('Y-m-d',strtotime($v['authentication_end_time']))]);
|
|
|
|
|
|
+ $send = send_wechatSubscription_message('out_then_reminder',[$v['docter']['openid'], "pages/index/index", $v['organization']['name'],date('Y-m-d',strtotime($v['authentication_end_time']))]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1021,7 +1021,7 @@ class PatientController extends AuthController
|
|
if($list){
|
|
if($list){
|
|
foreach ($list as $k=>$v){
|
|
foreach ($list as $k=>$v){
|
|
if ($v['docter']['openid']&& time()>=strtotime($v['authentication_end_time'])){
|
|
if ($v['docter']['openid']&& time()>=strtotime($v['authentication_end_time'])){
|
|
- $send = send_wechatSubscription_message('out_then_reminder',[$v['docter']['openid'], "https://easywechat.org", $v['organization']['name'],date('Y-m-d',strtotime($v['authentication_end_time']))]);
|
|
|
|
|
|
+ $send = send_wechatSubscription_message('out_then_reminder',[$v['docter']['openid'], "pages/index/index", $v['organization']['name'],date('Y-m-d',strtotime($v['authentication_end_time']))]);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
@@ -1042,7 +1042,7 @@ class PatientController extends AuthController
|
|
if ($v['docter']['openid']&& time()>=strtotime($v['authentication_end_time'])){
|
|
if ($v['docter']['openid']&& time()>=strtotime($v['authentication_end_time'])){
|
|
$send = send_wechatSubscription_message('schedule_reminder', [
|
|
$send = send_wechatSubscription_message('schedule_reminder', [
|
|
'医生id',
|
|
'医生id',
|
|
- "https://easywechat.org",
|
|
|
|
|
|
+ "pages/index/index",
|
|
'小刘',
|
|
'小刘',
|
|
'类型',
|
|
'类型',
|
|
'人数',
|
|
'人数',
|