Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
施宇
/
icsales
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
676b5c8b
authored
Jul 17, 2019
by
朱继来
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
添加热门商品
parent
6b24d0b0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
Application/Home/Controller/BaseController.class.php
Application/Home/Controller/BaseController.class.php
View file @
676b5c8b
...
@@ -8,6 +8,7 @@ class BaseController extends Controller
...
@@ -8,6 +8,7 @@ class BaseController extends Controller
{
{
$datas
[
'logo'
]
=
$this
->
apiBaseCache
(
'pc_logo_set'
);
// logo
$datas
[
'logo'
]
=
$this
->
apiBaseCache
(
'pc_logo_set'
);
// logo
$datas
[
'bottom_qrcode'
]
=
$this
->
apiBaseCache
(
'pc_bottom_qrcode'
);
// 底部二维码
$datas
[
'bottom_qrcode'
]
=
$this
->
apiBaseCache
(
'pc_bottom_qrcode'
);
// 底部二维码
$datas
[
'hot_goods'
]
=
$this
->
apiBaseCache
(
'pc_hot_goods'
,
''
,
5
);
// 热门商品
foreach
(
$datas
as
$k
=>
$v
)
{
foreach
(
$datas
as
$k
=>
$v
)
{
$this
->
assign
(
$k
,
$v
[
'data'
]);
$this
->
assign
(
$k
,
$v
[
'data'
]);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment