有个tp3项目,里面的一个方法我看不懂,请教一下大神,
public function execute_man(){
$user = session('userMsg');
$res = M('depart_budget_execution')->where(['department_code' => $user['department_id']])->select();
$this->assign('list',$res);
$this->display();
}
刚开始学,希望有大神给详细的指点,谢谢!