mode_meetAction.php 654 B

12345678910111213141516171819202122232425
  1. <?php
  2. class mode_meetClassAction extends inputAction{
  3. protected function savebefore($table, $arr, $id, $addbo){
  4. if(arrvalue($arr,'type')=='1')return ''; //固定会议不需要判断
  5. return m('meet')->isapplymsg($arr['startdt'], $arr['enddt'], $arr['hyname'], $id);
  6. }
  7. protected function saveafter($table, $arr, $id, $addbo){
  8. }
  9. //打印二维码判断
  10. public function getpewmAjax()
  11. {
  12. $mid = (int)$this->get('mid','0');
  13. $rs = m('meet')->getone($mid);
  14. if($rs['type']!='0')return '不需要打印';
  15. if($rs['optid']!=$this->adminid)return '你不是发起人无法显示二维码';
  16. return 'ok';
  17. }
  18. }
粤ICP备19079148号