Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
10 years ago
Commit
719a3b0c820004544ed35beea2a614eec4466c1f
1 parent
db91ab54
fixes bug to notice
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
3 deletions
library/Plugin/Cache.php
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Info.php
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Plusstar.php
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
library/Plugin/Cache.php
View file @
719a3b0
...
...
@@ -33,7 +33,7 @@ class Cache
* @param int $expire 缓存有效期(单位秒, 0表示永久)
* @return void
*/
public
static
function
set
(
$key
,
$value
,
$expire
=
0
)
public
static
function
set
(
$key
,
$value
,
$expire
=
360
0
)
{
try
{
// WINDOWS
...
...
yohobuy/m.yohobuy.com/application/models/Product/Newsale.php
View file @
719a3b0
...
...
@@ -6,6 +6,7 @@ use Configs\CacheConfig;
use
LibModels\Wap\Product\NewsaleData
;
use
Plugin\DataProcess\NewSaleProcess
;
use
Plugin\Helpers
;
use
Plugin\Cache
;
/**
* 新品到着相关的模板数据模型
...
...
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Info.php
View file @
719a3b0
...
...
@@ -101,7 +101,7 @@ class InfoController extends AbstractAction
continue
;
}
// 单个商品
elseif
(
$i
===
0
)
{
elseif
(
$i
===
0
&&
isset
(
$good
[
0
])
)
{
$build
[
'relatedReco'
]
=
$good
[
0
];
}
// 多个商品
...
...
yohobuy/m.yohobuy.com/application/modules/Guang/controllers/Plusstar.php
View file @
719a3b0
...
...
@@ -3,6 +3,7 @@
use
Action\AbstractAction
;
use
LibModels\Wap\Guang\PlusstarData
;
use
Plugin\Helpers
;
use
Plugin\Cache
;
/**
* 明星品牌和原创品牌
...
...
yohobuy/m.yohobuy.com/application/modules/Product/controllers/Index.php
View file @
719a3b0
...
...
@@ -52,7 +52,7 @@ class IndexController extends AbstractAction
$this
->
setNavHeader
(
$name
,
true
,
SITE_MAIN
);
$goodList
=
Product\ListModel
::
getClassData
(
$condition
);
if
(
!
empty
(
$condition
))
{
if
(
!
empty
(
$condition
)
&&
!
empty
(
$goodList
)
)
{
$goodList
=
array_merge
(
$goodList
,
$condition
);
}
$this
->
_view
->
display
(
'index'
,
array
(
...
...
Please
register
or
login
to post a comment