|
@@ -106,12 +106,15 @@ class Msg
|
|
|
if ($id > 0) {
|
|
|
$info = Dever::db('applet/msg_send')->one($id);
|
|
|
if ($info) {
|
|
|
+ $project = explode(',', $info['project_id']));
|
|
|
Dever::setInput('key', $info['key']);
|
|
|
- Dever::setInput('project_id', $info['project_id']);
|
|
|
Dever::setInput('page', $info['page']);
|
|
|
-
|
|
|
$send = $this->getData($info['content']);
|
|
|
- $this->sendMul();
|
|
|
+
|
|
|
+ foreach ($project as $k => $v) {
|
|
|
+ Dever::setInput('project_id', $v);
|
|
|
+ $this->sendMul();
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
Dever::alert('提交成功,请到模板消息日志中查看发送记录');
|