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
509100fa
Commit
509100fa
authored
Jan 16, 2019
by
liuyuzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
首页相关修改
parent
c95f49b1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
ClassStoreService.php
application/models/Business/Store/ClassStoreService.php
+1
-1
QmStoreClass.php
application/models/DAO/QmStoreClass.php
+1
-0
No files found.
application/models/Business/Store/ClassStoreService.php
View file @
509100fa
...
...
@@ -39,7 +39,7 @@ class ClassStoreServiceModel extends \Business\AbstractModel{
$lat
=
$position
[
'lat'
];
$lng
=
$position
[
'lng'
];
$classStoreModel
=
\DAO\Store\ClassStoreModel
::
getInstance
();
$storeList
=
\Our\RedisHelper
::
cachedFunction
(
\Redis\Db6\ClassStoreRedisModel
::
getInstance
(),
array
(
&
$classStoreModel
,
'getList'
),
array
(
array
(
'gc_parent_id'
=>
$parentGcId
),
$this
->
classStoreField
),
\Our\ApiConst
::
oneHour
,
array
());
$storeList
=
\Our\RedisHelper
::
cachedFunction
(
\Redis\Db6\ClassStoreRedisModel
::
getInstance
(),
array
(
&
$classStoreModel
,
'getList'
),
array
(
array
(
'gc_parent_id'
=>
$parentGcId
),
$this
->
classStoreField
),
\Our\ApiConst
::
oneHour
,
array
(
$parentGcId
));
$newGcStoreList
=
array
();
if
(
$storeList
){
$newStoreList
=
array
();
...
...
application/models/DAO/QmStoreClass.php
View file @
509100fa
...
...
@@ -125,6 +125,7 @@ class QmStoreClassModel extends \DAO\AbstractModel{
}
$platformFirstClassDao
=
\DAO\GoodsClass\PlatformFirstClassModel
::
getInstance
();
\Our\RedisHelper
::
delCachedFunction
(
\Redis\Db3\PlatformFirstClassRedisModel
::
getInstance
(),
array
(
&
$platformFirstClassDao
,
'getList'
),
array
(),
array
());
return
true
;
}
/**
...
...
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