切换导航条
此项目
正在载入...
登录
景龙
/
xingqiu
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
景龙
6 years ago
提交
523cead6ac32b0d48e7ceccc726727c1b0b54956
1 个父辈
40f7dbbf
1 个管道 的构建
通过
耗费 0 秒
关闭推广视频cache
变更
1
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
app/portal/controller/IndexController.php
app/portal/controller/IndexController.php
查看文件 @
523cead
...
...
@@ -94,8 +94,8 @@ class IndexController extends HomeBaseController
$this
->
assign
(
'res_xqyy'
,
$res_xqyy
);
//推广视频
$res_djxq
=
cache
(
'res_djxq'
);
if
(
!
$res_djxq
){
// $res_djxq = cache('res_djxq');
// if(!$res_djxq){
$position
=
CityCategoryModel
::
xqyy
;
$city_id
=
CityCategoryModel
::
djxq
;
$field
=
'id,more,thumbnail'
;
...
...
@@ -107,8 +107,8 @@ class IndexController extends HomeBaseController
if
(
$res_djxq
){
$res_djxq
=
$res_djxq
[
0
];
}
cache
(
'res_djxq'
,
$res_djxq
);
}
// cache('res_djxq', $res_djxq);
// }
$this
->
assign
(
'res_djxq'
,
$res_djxq
);
...
...
请
注册
或
登录
后发表评论