ThinkChat🤖让你学习和工作更高效,注册即送10W Token,即刻开启你的AI之旅 广告
##视图 ###视图操作有一下几种 1. get 获取get 1. post 获取post 1. model 调用model 1. assign 分配数据 1. dp 模版 ###demo ~~~ <?php class coreViewAdmin extends coreFrameworkView { function __construct() { parent::__construct(); } function index() { $get = $this->GVar->fget; $post = $this->GVar->fpost; $data = $this->model->modelName(); //中间区 $this->tmp->assign("data",$data); $this->dp("admin/index"); } } ?> ~~~