webmain/flow/input/mode_newsAction.php

(完整代码) 554B

<?php
/**
*/ 
class mode_newsClassAction extends inputAction{
	
	
	protected function savebefore($table, $arr, $id, $addbo){
		
		$uarr = array();
		if(!isset($arr['issms']))$uarr['issms']=0;
		return array(
			'rows' => $uarr
		);
	}
	
	
	protected function saveafter($table, $arr, $id, $addbo){
		
	}
	
	//获取新闻
	public function getnewsAjax()
	{
		$typename 	= $this->post('typename');
		$rows 	 = m('flow')->initflow('news')->getflowrows($this->adminid,'my',5,"and `typename`='$typename'");
		return $rows;
	}
}	
			

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。