| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <?php
- namespace app\home\controller;
- use think\Lang;
- use think\Cache;
- use think\Request;
- use think\Controller;
- use think\Validate;
- /**
- * 主页管理类
- */
- class Index extends Common
- {
- /**
- * 构造函数
- *
- * @access public
- */
- public function __construct()
- {
- parent::__construct();
- }// end__construct()
- /**
- * 主页管理
- *
- * @access public
- * @return array JsonString
- */
- public function index()
- {
- $getHomeInformation = model('homeinformation')->getHomeInformation();
- $this->assign('information', $getHomeInformation);
- return $this->fetch();
- }//end index()
- }
|