|
@@ -80,6 +80,13 @@ class Note
|
|
Dever::load('message/lib/data')->push(-1, $v['uid'], '直播提醒', $info['name'] . '直播即将开始,马上观看!', 1);
|
|
Dever::load('message/lib/data')->push(-1, $v['uid'], '直播提醒', $info['name'] . '直播即将开始,马上观看!', 1);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ # 发送短消息
|
|
|
|
+ if (isset($user['mobile']) && $user['mobile'] && Dever::project('sms')) {
|
|
|
|
+ $send = array();
|
|
|
|
+ $send['name'] = $info['name'];
|
|
|
|
+ Dever::load('sms/api.send', 'note_live', $user['mobile'], $send);
|
|
|
|
+ }
|
|
|
|
+
|
|
$formid = Dever::load('act/lib/form')->get($v['uid'], 1);
|
|
$formid = Dever::load('act/lib/form')->get($v['uid'], 1);
|
|
|
|
|
|
if ($formid) {
|
|
if ($formid) {
|
|
@@ -99,12 +106,6 @@ class Note
|
|
Dever::load('wechat_applet/msg.send', $send);
|
|
Dever::load('wechat_applet/msg.send', $send);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- # 发送短消息
|
|
|
|
- if (isset($user['mobile']) && $user['mobile'] && Dever::project('sms')) {
|
|
|
|
- $send = array();
|
|
|
|
- $send['name'] = $info['name'];
|
|
|
|
- Dever::load('sms/api.send', 'note_live', $user['mobile'], $send);
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|