no commit message

This commit is contained in:
雨中磐石
2023-12-21 21:15:19 +08:00
parent ad77fdd196
commit 7eaf20c8fd
28 changed files with 187 additions and 53 deletions

View File

@@ -280,6 +280,7 @@ class flow_meetClassModel extends flowModel
{
$rows = $this->getall("`state` in(0,1) and `type`=0 and `startdt` like '".$this->rock->date."%' and `status`=1");
$time = time();
$tplnum = m('option')->getval('meetsmstpltx', 'meettodo');
foreach($rows as $k=>$rs){
$this->adminmodel->setcompanyid($rs['comid']); //设置对应单位id
$zt = $rs['state'];
@@ -304,7 +305,7 @@ class flow_meetClassModel extends flowModel
$this->meettodos($rs, '您好,会议即将在'.$ssj.'分钟后的'.$dts[1].'开始,请准时参加。');//快到时间通知
//短信通知
if($ssj<6)$this->sendsms($rs, 'meettodo', array(
if($ssj<6)$this->sendsms($rs, $tplnum, array(
'fenz' => ''.$ssj.'',
'title' => $rs['title'],
'time' => $dts[1],