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
fa9432b3
Commit
fa9432b3
authored
Sep 15, 2018
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页附近的店铺
parent
d57bc306
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
StoreService.php
application/models/Business/Store/StoreService.php
+7
-6
No files found.
application/models/Business/Store/StoreService.php
View file @
fa9432b3
...
@@ -450,15 +450,16 @@ class StoreServiceModel extends \Business\AbstractModel{
...
@@ -450,15 +450,16 @@ class StoreServiceModel extends \Business\AbstractModel{
$signStoreKey
=
\Our\NameConst
::
signStoreIdsPrefix
.
$readisSuffix
;
$signStoreKey
=
\Our\NameConst
::
signStoreIdsPrefix
.
$readisSuffix
;
$signStoreIds
=
$storeRedis
->
find
(
$signStoreKey
,
\Our\ApiConst
::
oneHour
);
$signStoreIds
=
$storeRedis
->
find
(
$signStoreKey
,
\Our\ApiConst
::
oneHour
);
$serviceStoreKey
=
\Our\NameConst
::
serviceStoreIdsPrefix
.
$readisSuffix
;
//
$serviceStoreKey = \Our\NameConst::serviceStoreIdsPrefix . $readisSuffix;
$serviceStoreIds
=
$storeRedis
->
find
(
$serviceStoreKey
,
\Our\ApiConst
::
oneHour
);
//
$serviceStoreIds = $storeRedis->find($serviceStoreKey, \Our\ApiConst::oneHour);
if
(
is_array
(
$signStoreIds
)
&&
is_array
(
$serviceStoreIds
)){
/*
if(is_array($signStoreIds)&&is_array($serviceStoreIds)){
$nearbyStoreIds = array_merge($serviceStoreIds,$signStoreIds);
$nearbyStoreIds = array_merge($serviceStoreIds,$signStoreIds);
}
else
if
(
is_array
(
$signStoreIds
)){
}else */
if
(
is_array
(
$signStoreIds
)){
$nearbyStoreIds
=
$signStoreIds
;
$nearbyStoreIds
=
$signStoreIds
;
}
else
if
(
is_array
(
$serviceStoreIds
)){
}
/*
else if(is_array($serviceStoreIds)){
$nearbyStoreIds = $serviceStoreIds;
$nearbyStoreIds = $serviceStoreIds;
}
}
*/
if
(
$nearbyStoreIds
&&
is_array
(
$nearbyStoreIds
)){
if
(
$nearbyStoreIds
&&
is_array
(
$nearbyStoreIds
)){
return
$nearbyStoreIds
;
return
$nearbyStoreIds
;
}
}
...
...
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