|
@@ -37,7 +37,7 @@ class Msg
|
|
|
//Dever::setInput('form_id', '1526295575657');
|
|
|
Dever::setInput('key', 'buy');
|
|
|
Dever::setInput('project_id', '2');
|
|
|
- $this->send();
|
|
|
+ return $this->send();
|
|
|
}
|
|
|
|
|
|
# 发送单条模板消息
|
|
@@ -60,6 +60,7 @@ class Msg
|
|
|
{
|
|
|
if ($project_id > 0 && $key && $touser && $page && $data) {
|
|
|
$info = Dever::db('applet/msg')->one(array('option_key' => $key, 'option_project_id' => $project_id));
|
|
|
+ print_r($info);die;
|
|
|
if ($info) {
|
|
|
$update = array();
|
|
|
$update['project_id'] = $info['project_id'];
|