You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- <?php
-
- /**
- * 初始化数据获取
- * ============================================================================
- * * 版权所有 蜘蛛出行 * *
- * 网站地址: http://www.zhizhuchuxing.com
- * ----------------------------------------------------------------------------
- * 这不是一个自由软件!您只能在不用于商业目的的前提下对程序代码进行修改和
- * 使用;不允许对程序代码以任何形式任何目的的再发布。
- * ============================================================================
- * Author By: 娄梦宁
- * PhpStorm AroundService.php
- * Create By 2016/11/10 13:26 $
- */
- namespace Trip\Service;
-
- use Trip\Model\TripModel;
- use Util\Util\Util;
-
- class TripService
- {
- /**
- * Function Description:获取初始化数据
- * Function Name: getAll
- *
- * @return array
- *
- * @author 娄梦宁
- */
- static function getAll(){
- $dataAll=new TripModel();
- $recomList=$dataAll->getRecom();
- $rimList=$dataAll->getAroud();
- $dsn=$dataAll->getDsn();
- $scenicList=$dataAll->getScenic();
- $data['recomList'] = $recomList['data'];
- $data['rimList'] = $rimList['data'];
- $data['dsn'] = $dsn['data'];
- $data['scenicList'] = $scenicList['data'];
- return Util::returnArrSu('', $data);
-
-
- }
-
- }
|