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
b817946e
Commit
b817946e
authored
Aug 29, 2018
by
zhz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
collect
parent
f931ebcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
StoreService.php
application/models/Business/Store/StoreService.php
+1
-1
No files found.
application/models/Business/Store/StoreService.php
View file @
b817946e
...
...
@@ -182,7 +182,7 @@ class StoreServiceModel extends \Business\AbstractModel{
$returnClass
[]
=
$v
[
'gc_name'
];
}
}
return
array
(
'storeName'
=>
$storeInfo
[
'store_name'
],
'storeLabel'
=>
$storeLabel
,
'fansCount'
=>
$storeInfo
[
'store_collect'
]
,
'clazz'
=>
$returnClass
,
'address'
=>
$address
,
'storePhone'
=>
$storeInfo
[
'store_phone'
],
'openingHours'
=>
$openingHours
,
'storeService'
=>
$storeInfo
[
'store_notice'
],
"qualificationImage"
=>
$detailImg
);
return
array
(
'storeName'
=>
$storeInfo
[
'store_name'
],
'storeLabel'
=>
$storeLabel
,
'fansCount'
=>
\DAO\FavoritesStoreModel
::
getInstance
()
->
getFavoritesStoreCountByStoreId
(
$storeId
)
,
'clazz'
=>
$returnClass
,
'address'
=>
$address
,
'storePhone'
=>
$storeInfo
[
'store_phone'
],
'openingHours'
=>
$openingHours
,
'storeService'
=>
$storeInfo
[
'store_notice'
],
"qualificationImage"
=>
$detailImg
);
}
public
function
getRecommendGoodsCache
(
$param
,
$memberId
){
$recommendGoods
=
\Our\RedisHelper
::
cachedFunction
(
\Redis\Db6\StoreGoodsClassRedisModel
::
getInstance
(),
array
(
&
$this
,
'getRecommendGoods'
),
array
(
$param
,
$memberId
),
\Our\ApiConst
::
oneDaySecond
,
array
(
intval
(
$param
[
'storeId'
])));
...
...
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