assetmAction.php 411 B

123456789101112131415
  1. <?php
  2. class assetmClassAction extends Action
  3. {
  4. public function printewmAction()
  5. {
  6. $sid = c('check')->onlynumber($this->get('sid'));
  7. $rows= m('assetm')->getall('id in('.$sid.')');
  8. foreach($rows as $k=>$rs){
  9. $rows[$k]['url'] = $this->jm->base64encode('task.php?a=x&num=assetm&mid='.$rs['id'].'');
  10. }
  11. $this->title = '固定资产二维码打印';
  12. $this->assign('rows', $rows);
  13. }
  14. }
粤ICP备19079148号