|
@@ -93,7 +93,7 @@ class Note
|
|
|
$formid = $v['formid'];
|
|
|
if ($formid) {
|
|
|
# 发送模板消息
|
|
|
- $wechat = Dever::db('passport/wechat')->one(array('uid' => $v['uid']));
|
|
|
+ $wechat = Dever::db('passport/wechat')->one(array('uid' => $v['uid'], 'type' => 1, 'system_id' => $v['cate_id']));
|
|
|
if ($wechat && Dever::project('wechat_applet')) {
|
|
|
$send['key'] = 'note_live';
|
|
|
$send['project_id'] = $v['cate_id'];
|