|
@@ -81,7 +81,7 @@ class Pay
|
|
}
|
|
}
|
|
|
|
|
|
# 发模板消息
|
|
# 发模板消息
|
|
- $wechat = Dever::db('passport/wechat')->one(array('uid' => $uid));
|
|
|
|
|
|
+ $wechat = Dever::db('passport/wechat')->one(array('uid' => $uid, 'type' => 1, 'system_id' => $order['cate_id']));
|
|
if ($wechat && Dever::project('wechat_applet')) {
|
|
if ($wechat && Dever::project('wechat_applet')) {
|
|
$send['key'] = 'buy_journal';
|
|
$send['key'] = 'buy_journal';
|
|
$send['project_id'] = $order['cate_id'];
|
|
$send['project_id'] = $order['cate_id'];
|