Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
my-yaf-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenchuanwen
my-yaf-project
Commits
ea1c924f
Commit
ea1c924f
authored
Aug 16, 2018
by
zhz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adv
parent
84d8f0e1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
Store.php
application/controllers/Store.php
+2
-0
No files found.
application/controllers/Store.php
View file @
ea1c924f
...
...
@@ -14,6 +14,7 @@ class StoreController extends \Our\Controller_AbstractIndex {
*/
public
function
getStoreInfoAction
(){
$storeInfo
=
$this
->
storeService
->
getStoreInfo
(
$this
->
req
[
\Our\NameConst
::
data
],
$this
->
memberId
);
//.
$storeInfo
[
'adv'
]
=
array
(
'href'
=>
'http://qm.22ca.com/qm/tmpl/goods.html?goods_commonid=101654'
,
'imageUrl'
=>
'http://qmoss-01.oss-cn-hangzhou.aliyuncs.com/data/upload/mall/adv/05715960161498410.jpg'
);
$storeInfo
[
'share'
]
=
\Business\Common\CommonServiceModel
::
getInstance
()
->
getShareInfo
(
\Our\ApiConst
::
shareStore
,
$this
->
req
[
\Our\NameConst
::
data
][
'storeId'
]);
$this
->
success
(
$storeInfo
);
...
...
@@ -24,6 +25,7 @@ class StoreController extends \Our\Controller_AbstractIndex {
public
function
indexAction
(){
$recommendGoods
=
$this
->
storeService
->
getRecommendGoodsCache
(
$this
->
req
[
\Our\NameConst
::
data
],
$this
->
memberId
);
$adv
=
array
(
'href'
=>
'http://qm.22ca.com/qm/tmpl/goods.html?goods_commonid=101654'
,
'imageUrl'
=>
'http://qmoss-01.oss-cn-hangzhou.aliyuncs.com/data/upload/mall/adv/05715960161498410.jpg'
);
$adv
=
\Business\Common\AdvServiceModel
::
getInstance
()
->
getStoreAdvs
(
$this
->
req
[
\Our\NameConst
::
data
],
\Our\AdvConst
::
storePageMid
);
$hotSale
=
$this
->
storeService
->
getHotSaleGoods
(
$this
->
req
[
\Our\NameConst
::
data
],
$this
->
memberId
);
$recommendGoodsClasses
=
$this
->
storeService
->
getRecommendClassCache
(
$this
->
req
[
\Our\NameConst
::
data
]);
$couponService
=
\Business\Coupon\CouponServiceModel
::
getInstance
();
...
...
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