dever 7 年之前
父节点
当前提交
2ae202cf3a
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      applet/src/Msg.php

+ 2 - 1
applet/src/Msg.php

@@ -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'];